import type { Subtitle } from '../types/editor'; /** * Generate an SRT (SubRip Text) string from a subtitle list. * Optionally filters by `lang`. Results sorted by startSec. */ export declare function toSRT(subs: Subtitle[], lang?: string): string; /** * Generate a WebVTT string from a subtitle list. */ export declare function toVTT(subs: Subtitle[], lang?: string): string; /** * Parse an SRT string back into Subtitle[]. Useful for import. */ export declare function parseSRT(srt: string, lang?: string): Subtitle[]; /** Download helper — triggers a browser file download */ export declare function downloadText(content: string, filename: string, mime?: string): void; //# sourceMappingURL=subtitle-format.d.ts.map