export interface SplitSentencesOptions { /** * Hard upper bound on the length of a returned chunk. Sentences longer than * this are broken apart, preferring comma / whitespace boundaries. * * @defaultValue 120 */ maxLength?: number; /** * Chunks shorter than this are merged with their neighbours, as long as the * merge stays within `maxLength`. * * Very short prompts ("はい", "なぜ?") make neural TTS models unstable, so * engines that suffer from it can ask for a floor. `0` disables merging. * * @defaultValue 0 */ minLength?: number; } /** * Split text into synthesis-sized chunks. * * Each returned chunk is normalized (see {@link normalizeText}), non empty, * and never longer than `maxLength`. */ export declare function splitSentences(text: string, options?: SplitSentencesOptions): string[]; //# sourceMappingURL=segment.d.ts.map