import * as _storyteller_platform_ghost_story from '@storyteller-platform/ghost-story'; import { TimingAggregator } from '@storyteller-platform/ghost-story'; import { Logger } from 'pino'; import { ParsedXml } from '@storyteller-platform/epub'; interface MarkupOptions { granularity?: "word" | "sentence"; primaryLocale?: Intl.Locale; onProgress?: (progress: number) => void; logger?: Logger; } declare function markup(input: string, output: string, options: MarkupOptions): Promise; declare function markupChapter(chapterId: string, chapterXml: ParsedXml, granularity: "word" | "sentence", locale: Intl.Locale | null): Promise<{ markedUp: ParsedXml; timing: _storyteller_platform_ghost_story.Timing; }>; export { type MarkupOptions, markup, markupChapter };