Files
hypit/packages/script/src/index.ts
2026-10-07 20:44:28 +08:00

22 lines
876 B
TypeScript

export { ScriptSyntaxError } from "./error.js";
export { adjustScriptMoment, adjustScriptSelection, scriptAnchorEditSites } from "./edit.js";
export { formatScript } from "./format.js";
export { captionDocumentType, narrativeCaptionBindingType, narrativeSegmentRefType, narrativeMomentType, narrativeSelectionType, narrativeSchema, narrativeType, scriptManifest, scriptMarkupSurfaces, scriptModuleRef } from "./manifest.js";
export {
captionDocument,
captionDocumentValue,
narrativeCaptionBinding,
narrativeDialogueTextValue,
narrativeSegmentExcerptValue,
narrativeMomentValue,
narrativeSelectionValue,
narrativeSpeechTextValue,
narrativeValue,
serializeCaption,
serializeDialogue,
serializeSpeech,
} from "./narrative.js";
export { parseScript } from "./parser.js";
export { decodeScriptSurface } from "./surface.js";
export type * from "./types.js";