import { type TranscribeSegment } from "../../../schemas/index"; export interface WhisperAddonSegment { text: string; start?: number; end?: number; toAppend?: boolean; id?: number; } /** * Normalize a native whisper-addon segment to the SDK-level `TranscribeSegment` * shape exposed to callers: seconds → milliseconds, `toAppend` → `append`, * and defaults for optional fields. */ export declare function toTranscribeSegment(chunk: WhisperAddonSegment): TranscribeSegment; /** * Guard used by transcription ops when the caller opts into `metadata: true`. * Only the whisper engine emits per-segment metadata; any other engine * requesting metadata is rejected with `TranscriptionFailedError`. */ export declare function assertMetadataSupported(modelId: string, engineType: string, metadata: boolean | undefined): void; //# sourceMappingURL=transcribe-metadata.d.ts.map