import { z } from 'zod';
export declare const ttsSessionCreateEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.create">;
    sample_rate: z.ZodString;
    encoding: z.ZodString;
    model: z.ZodOptional<z.ZodString>;
    voice: z.ZodOptional<z.ZodString>;
    language: z.ZodOptional<z.ZodString>;
    extra: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    transcript: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    encoding: string;
    type: "session.create";
    sample_rate: string;
    extra: Record<string, unknown>;
    model?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    voice?: string | undefined;
}, {
    encoding: string;
    type: "session.create";
    sample_rate: string;
    extra: Record<string, unknown>;
    model?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    voice?: string | undefined;
}>;
export declare const ttsGenerationConfigSchema: z.ZodObject<{
    voice: z.ZodOptional<z.ZodString>;
    language: z.ZodOptional<z.ZodString>;
    model: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    model?: string | undefined;
    language?: string | undefined;
    voice?: string | undefined;
}, {
    model?: string | undefined;
    language?: string | undefined;
    voice?: string | undefined;
}>;
export declare const ttsInputTranscriptEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"input_transcript">;
    transcript: z.ZodString;
    generation_config: z.ZodOptional<z.ZodObject<{
        voice: z.ZodOptional<z.ZodString>;
        language: z.ZodOptional<z.ZodString>;
        model: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    }, {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    }>>;
    extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    type: "input_transcript";
    transcript: string;
    extra?: Record<string, unknown> | undefined;
    generation_config?: {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    } | undefined;
}, {
    type: "input_transcript";
    transcript: string;
    extra?: Record<string, unknown> | undefined;
    generation_config?: {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    } | undefined;
}>;
export declare const ttsSessionFlushEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.flush">;
}, "strip", z.ZodTypeAny, {
    type: "session.flush";
}, {
    type: "session.flush";
}>;
export declare const ttsSessionCloseEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.close">;
}, "strip", z.ZodTypeAny, {
    type: "session.close";
}, {
    type: "session.close";
}>;
export declare const ttsSessionCreatedEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id: string;
}, {
    type: "session.created";
    session_id: string;
}>;
export declare const ttsOutputAudioEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"output_audio">;
    audio: z.ZodString;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    audio: string;
    type: "output_audio";
    session_id: string;
}, {
    audio: string;
    type: "output_audio";
    session_id: string;
}>;
export declare const ttsDoneEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"done">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "done";
    session_id: string;
}, {
    type: "done";
    session_id: string;
}>;
export declare const ttsSessionClosedEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
    session_id: string;
}, {
    type: "session.closed";
    session_id: string;
}>;
export declare const ttsErrorEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}>;
export declare const ttsWordTimestampSchema: z.ZodObject<{
    word: z.ZodString;
    start: z.ZodNumber;
    end: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    end: number;
    start: number;
    word: string;
}, {
    end: number;
    start: number;
    word: string;
}>;
export declare const ttsCharTimestampSchema: z.ZodObject<{
    char: z.ZodString;
    start: z.ZodNumber;
    end: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    end: number;
    start: number;
    char: string;
}, {
    end: number;
    start: number;
    char: string;
}>;
export declare const ttsOutputAlignmentEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"output_alignment">;
    session_id: z.ZodOptional<z.ZodString>;
    words: z.ZodOptional<z.ZodArray<z.ZodObject<{
        word: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        word: string;
    }, {
        end: number;
        start: number;
        word: string;
    }>, "many">>;
    chars: z.ZodOptional<z.ZodArray<z.ZodObject<{
        char: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        char: string;
    }, {
        end: number;
        start: number;
        char: string;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}>;
export declare const ttsClientEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"session.create">;
    sample_rate: z.ZodString;
    encoding: z.ZodString;
    model: z.ZodOptional<z.ZodString>;
    voice: z.ZodOptional<z.ZodString>;
    language: z.ZodOptional<z.ZodString>;
    extra: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    transcript: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    encoding: string;
    type: "session.create";
    sample_rate: string;
    extra: Record<string, unknown>;
    model?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    voice?: string | undefined;
}, {
    encoding: string;
    type: "session.create";
    sample_rate: string;
    extra: Record<string, unknown>;
    model?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    voice?: string | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"input_transcript">;
    transcript: z.ZodString;
    generation_config: z.ZodOptional<z.ZodObject<{
        voice: z.ZodOptional<z.ZodString>;
        language: z.ZodOptional<z.ZodString>;
        model: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    }, {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    }>>;
    extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    type: "input_transcript";
    transcript: string;
    extra?: Record<string, unknown> | undefined;
    generation_config?: {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    } | undefined;
}, {
    type: "input_transcript";
    transcript: string;
    extra?: Record<string, unknown> | undefined;
    generation_config?: {
        model?: string | undefined;
        language?: string | undefined;
        voice?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.flush">;
}, "strip", z.ZodTypeAny, {
    type: "session.flush";
}, {
    type: "session.flush";
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.close">;
}, "strip", z.ZodTypeAny, {
    type: "session.close";
}, {
    type: "session.close";
}>]>;
export declare const ttsKnownServerEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id: string;
}, {
    type: "session.created";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"output_audio">;
    audio: z.ZodString;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    audio: string;
    type: "output_audio";
    session_id: string;
}, {
    audio: string;
    type: "output_audio";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"output_alignment">;
    session_id: z.ZodOptional<z.ZodString>;
    words: z.ZodOptional<z.ZodArray<z.ZodObject<{
        word: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        word: string;
    }, {
        end: number;
        start: number;
        word: string;
    }>, "many">>;
    chars: z.ZodOptional<z.ZodArray<z.ZodObject<{
        char: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        char: string;
    }, {
        end: number;
        start: number;
        char: string;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"done">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "done";
    session_id: string;
}, {
    type: "done";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
    session_id: string;
}, {
    type: "session.closed";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}>]>;
export declare const ttsUnknownServerEventSchema: z.ZodObject<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">>;
export declare const ttsServerEventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id: string;
}, {
    type: "session.created";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"output_audio">;
    audio: z.ZodString;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    audio: string;
    type: "output_audio";
    session_id: string;
}, {
    audio: string;
    type: "output_audio";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"output_alignment">;
    session_id: z.ZodOptional<z.ZodString>;
    words: z.ZodOptional<z.ZodArray<z.ZodObject<{
        word: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        word: string;
    }, {
        end: number;
        start: number;
        word: string;
    }>, "many">>;
    chars: z.ZodOptional<z.ZodArray<z.ZodObject<{
        char: z.ZodString;
        start: z.ZodNumber;
        end: z.ZodNumber;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        char: string;
    }, {
        end: number;
        start: number;
        char: string;
    }>, "many">>;
}, "strip", z.ZodTypeAny, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}, {
    type: "output_alignment";
    session_id?: string | undefined;
    words?: {
        end: number;
        start: number;
        word: string;
    }[] | undefined;
    chars?: {
        end: number;
        start: number;
        char: string;
    }[] | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"done">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "done";
    session_id: string;
}, {
    type: "done";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
    session_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
    session_id: string;
}, {
    type: "session.closed";
    session_id: string;
}>, z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}, {
    type: "error";
    message?: string | undefined;
    session_id?: string | undefined;
}>]>, z.ZodObject<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">>]>;
export type TtsGenerationConfig = z.infer<typeof ttsGenerationConfigSchema>;
export type TtsSessionCreateEvent = z.infer<typeof ttsSessionCreateEventSchema>;
export type TtsInputTranscriptEvent = z.infer<typeof ttsInputTranscriptEventSchema>;
export type TtsSessionFlushEvent = z.infer<typeof ttsSessionFlushEventSchema>;
export type TtsSessionCloseEvent = z.infer<typeof ttsSessionCloseEventSchema>;
export type TtsSessionCreatedEvent = z.infer<typeof ttsSessionCreatedEventSchema>;
export type TtsOutputAudioEvent = z.infer<typeof ttsOutputAudioEventSchema>;
export type TtsWordTimestamp = z.infer<typeof ttsWordTimestampSchema>;
export type TtsCharTimestamp = z.infer<typeof ttsCharTimestampSchema>;
export type TtsOutputAlignmentEvent = z.infer<typeof ttsOutputAlignmentEventSchema>;
export type TtsDoneEvent = z.infer<typeof ttsDoneEventSchema>;
export type TtsSessionClosedEvent = z.infer<typeof ttsSessionClosedEventSchema>;
export type TtsErrorEvent = z.infer<typeof ttsErrorEventSchema>;
export type TtsClientEvent = z.infer<typeof ttsClientEventSchema>;
export type TtsServerEvent = z.infer<typeof ttsServerEventSchema>;
export declare const sttWordSchema: z.ZodObject<{
    word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    end: number;
    start: number;
    confidence: number;
    word: string;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    end?: number | undefined;
    start?: number | undefined;
    confidence?: number | undefined;
    word?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}>;
export declare const sttInterimTranscriptEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"interim_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "interim_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "interim_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>;
export declare const sttFinalTranscriptEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"final_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "final_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "final_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>;
export declare const sttPreflightTranscriptEventSchema: z.ZodObject<{
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
} & {
    type: z.ZodLiteral<"preflight_transcript">;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "preflight_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "preflight_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>;
export declare const sttSessionCreatedEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id?: string | undefined;
}, {
    type: "session.created";
    session_id?: string | undefined;
}>;
export declare const sttSessionFinalizedEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.finalized">;
}, "strip", z.ZodTypeAny, {
    type: "session.finalized";
}, {
    type: "session.finalized";
}>;
export declare const sttSessionClosedEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
}, {
    type: "session.closed";
}>;
export declare const sttErrorEventSchema: z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    code: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}>;
export declare const sttKnownServerEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id?: string | undefined;
}, {
    type: "session.created";
    session_id?: string | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.finalized">;
}, "strip", z.ZodTypeAny, {
    type: "session.finalized";
}, {
    type: "session.finalized";
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
}, {
    type: "session.closed";
}>, z.ZodObject<{
    type: z.ZodLiteral<"interim_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "interim_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "interim_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"final_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "final_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "final_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
} & {
    type: z.ZodLiteral<"preflight_transcript">;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "preflight_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "preflight_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    code: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}>]>;
export declare const sttUnknownServerEventSchema: z.ZodObject<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">>;
export declare const sttServerEventSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
    type: z.ZodLiteral<"session.created">;
    session_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    type: "session.created";
    session_id?: string | undefined;
}, {
    type: "session.created";
    session_id?: string | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.finalized">;
}, "strip", z.ZodTypeAny, {
    type: "session.finalized";
}, {
    type: "session.finalized";
}>, z.ZodObject<{
    type: z.ZodLiteral<"session.closed">;
}, "strip", z.ZodTypeAny, {
    type: "session.closed";
}, {
    type: "session.closed";
}>, z.ZodObject<{
    type: z.ZodLiteral<"interim_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "interim_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "interim_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"final_transcript">;
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "final_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "final_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    session_id: z.ZodOptional<z.ZodString>;
    transcript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    duration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    words: z.ZodEffects<z.ZodArray<z.ZodObject<{
        word: z.ZodDefault<z.ZodOptional<z.ZodString>>;
        start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        end: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
        speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }, {
        end?: number | undefined;
        start?: number | undefined;
        confidence?: number | undefined;
        word?: string | undefined;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }>, "many">, {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[], unknown>;
    speaker_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    extra: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
} & {
    type: z.ZodLiteral<"preflight_transcript">;
}, "strip", z.ZodTypeAny, {
    start: number;
    type: "preflight_transcript";
    language: string;
    transcript: string;
    duration: number;
    confidence: number;
    words: {
        end: number;
        start: number;
        confidence: number;
        word: string;
        extra?: unknown;
        speaker_id?: string | null | undefined;
    }[];
    session_id?: string | undefined;
    extra?: unknown;
    speaker_id?: string | null | undefined;
}, {
    type: "preflight_transcript";
    start?: number | undefined;
    session_id?: string | undefined;
    language?: string | undefined;
    transcript?: string | undefined;
    duration?: number | undefined;
    confidence?: number | undefined;
    extra?: unknown;
    words?: unknown;
    speaker_id?: string | null | undefined;
}>, z.ZodObject<{
    type: z.ZodLiteral<"error">;
    message: z.ZodOptional<z.ZodString>;
    code: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}, {
    type: "error";
    message?: string | undefined;
    code?: number | undefined;
}>]>, z.ZodObject<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    type: z.ZodEffects<z.ZodString, string, string>;
}, z.ZodTypeAny, "passthrough">>]>;
export type SttWord = z.infer<typeof sttWordSchema>;
export type SttInterimTranscriptEvent = z.infer<typeof sttInterimTranscriptEventSchema>;
export type SttFinalTranscriptEvent = z.infer<typeof sttFinalTranscriptEventSchema>;
export type SttPreflightTranscriptEvent = z.infer<typeof sttPreflightTranscriptEventSchema>;
export type SttTranscriptEvent = SttInterimTranscriptEvent | SttFinalTranscriptEvent | SttPreflightTranscriptEvent;
export type SttSessionCreatedEvent = z.infer<typeof sttSessionCreatedEventSchema>;
export type SttSessionFinalizedEvent = z.infer<typeof sttSessionFinalizedEventSchema>;
export type SttSessionClosedEvent = z.infer<typeof sttSessionClosedEventSchema>;
export type SttErrorEvent = z.infer<typeof sttErrorEventSchema>;
export type SttKnownServerEvent = z.infer<typeof sttKnownServerEventSchema>;
export type SttUnknownServerEvent = z.infer<typeof sttUnknownServerEventSchema>;
export type SttServerEvent = z.infer<typeof sttServerEventSchema>;
//# sourceMappingURL=api_protos.d.ts.map