export declare function ttsPlay(speed: number, voices: SpeechSynthesisVoice[] | null, focusScrollRaw: (el: HTMLOrSVGElement, doFocus: boolean, animate: boolean, domRect: DOMRect | undefined) => void, rootElem: Element | undefined, startElem: Element | undefined, startTextNode: Node | undefined, startTextNodeOffset: number, ensureTwoPageSpreadWithOddColumnsIsOffsetTempDisable: () => number, ensureTwoPageSpreadWithOddColumnsIsOffsetReEnable: (val: number) => void): void; export declare function ttsStop(): void; export declare function ttsPause(doNotReset?: boolean): void; export declare function ttsVoices(voices: SpeechSynthesisVoice[] | null): void; export declare function ttsPlaybackRate(speed: number): void; export declare function ttsResume(): void; export declare function isTtsPlaying(): boolean; export declare function isTtsActive(): boolean; export declare function ttsPauseOrResume(): void; export declare function ttsQueueSize(): number; export declare function ttsQueueCurrentIndex(): number; export declare function ttsQueueCurrentText(): string | undefined; export declare function ttsNext(skipSentences: boolean, escape?: boolean): void; export declare function ttsPrevious(skipSentences: boolean, escape?: boolean): void; export declare function ttsPreviewAndEventuallyPlayQueueIndex(n: number): void; export declare function assignUtteranceVoice(utterance: SpeechSynthesisUtterance): void; export declare function ttsPlayQueueIndex(ttsQueueIndex: number, ttsAndMediaOverlaysManualPlayNext?: boolean): void;