/**
 * Subtitle format utilities for SRT/VTT generation
 */
export type SubtitleFormat = "json" | "srt" | "vtt";
export interface SubtitleSegment {
    startTime: number;
    endTime: number;
    text: string;
}
export interface TranscriptResult {
    id: string;
    status: string;
    fullText?: string;
    segments?: SubtitleSegment[];
    detectedLanguage?: string;
    error?: string;
}
/**
 * Detect subtitle format from file extension or explicit format option
 */
export declare function detectFormat(outputPath: string, explicitFormat?: string): SubtitleFormat;
/**
 * Format transcript result to the specified format
 */
export declare function formatTranscript(result: TranscriptResult, format: SubtitleFormat): string;
/**
 * Format segments as SRT (SubRip Subtitle)
 *
 * SRT Format:
 * 1
 * 00:00:00,000 --> 00:00:02,500
 * Hello world
 */
export declare function formatSRT(segments: SubtitleSegment[]): string;
/**
 * Format segments as WebVTT (Web Video Text Tracks)
 *
 * VTT Format:
 * WEBVTT
 *
 * 1
 * 00:00:00.000 --> 00:00:02.500
 * Hello world
 */
export declare function formatVTT(segments: SubtitleSegment[]): string;
/**
 * Format time for SRT (uses comma for milliseconds)
 * Format: HH:MM:SS,mmm
 */
export declare function formatSRTTime(seconds: number): string;
/**
 * Format time for VTT (uses period for milliseconds)
 * Format: HH:MM:SS.mmm
 */
export declare function formatVTTTime(seconds: number): string;
/**
 * Parse SRT content into SubtitleSegment array
 *
 * Handles standard SRT format:
 * 1
 * 00:00:00,000 --> 00:00:02,500
 * Hello world
 */
export declare function parseSRT(content: string): SubtitleSegment[];
