export interface PreprocessOptions { maxLength?: number; stripMarkdown?: boolean; normalizeWhitespace?: boolean; } export interface PreprocessResult { text: string; wasTruncated: boolean; originalLength: number; finalLength: number; } export declare function stripMarkdown(text: string): string; export declare function normalizeWhitespace(text: string): string; export declare function truncateText(text: string, maxLength: number): { text: string; wasTruncated: boolean; }; export declare function preprocessText(text: string, options?: PreprocessOptions): PreprocessResult; export declare function checkTTSSuitability(text: string): { suitable: boolean; reason?: string; };