import _m0 from 'protobufjs/minimal';
import { UtteranceStatistics } from '../../../../../yandex/cloud/speechsense/v1/analysis/utterance_statistics';
import { RecognitionClassifierResult } from '../../../../../yandex/cloud/speechsense/v1/analysis/predefined_classifiers';
export declare const protobufPackage = "yandex.cloud.speechsense.v1.analysis";
export interface Transcription {
    phrases: Phrase[];
    /**
     * Their might be several algorithms that work on talk transcription. For example: speechkit and translator
     * So there might be other fields here for tracing
     */
    algorithmsMetadata: AlgorithmMetadata[];
}
export interface Phrase {
    channelNumber: number;
    startTimeMs: number;
    endTimeMs: number;
    phrase?: PhraseText;
    statistics?: PhraseStatistics;
    classifiers: RecognitionClassifierResult[];
}
export interface PhraseText {
    text: string;
    language: string;
    normalizedText: string;
    words: Word[];
}
export interface Word {
    word: string;
    startTimeMs: number;
    endTimeMs: number;
}
export interface AlgorithmMetadata {
    createdTaskDate?: Date;
    completedTaskDate?: Date;
    error?: Error;
    traceId: string;
    name: string;
}
export interface Error {
    code: string;
    message: string;
}
export interface PhraseStatistics {
    statistics?: UtteranceStatistics;
}
export declare const Transcription: {
    encode(message: Transcription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Transcription;
    fromJSON(object: any): Transcription;
    toJSON(message: Transcription): unknown;
    fromPartial<I extends {
        phrases?: {
            channelNumber?: number | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            phrase?: {
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] | undefined;
            } | undefined;
            statistics?: {
                statistics?: {
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } | undefined;
            } | undefined;
            classifiers?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[] | undefined;
        }[] | undefined;
        algorithmsMetadata?: {
            createdTaskDate?: Date | undefined;
            completedTaskDate?: Date | undefined;
            error?: {
                code?: string | undefined;
                message?: string | undefined;
            } | undefined;
            traceId?: string | undefined;
            name?: string | undefined;
        }[] | undefined;
    } & {
        phrases?: ({
            channelNumber?: number | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            phrase?: {
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] | undefined;
            } | undefined;
            statistics?: {
                statistics?: {
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } | undefined;
            } | undefined;
            classifiers?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[] | undefined;
        }[] & ({
            channelNumber?: number | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            phrase?: {
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] | undefined;
            } | undefined;
            statistics?: {
                statistics?: {
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } | undefined;
            } | undefined;
            classifiers?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[] | undefined;
        } & {
            channelNumber?: number | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            phrase?: ({
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] | undefined;
            } & {
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: ({
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] & ({
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                } & {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                } & Record<Exclude<keyof I["phrases"][number]["phrase"]["words"][number], keyof Word>, never>)[] & Record<Exclude<keyof I["phrases"][number]["phrase"]["words"], keyof {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["phrases"][number]["phrase"], keyof PhraseText>, never>) | undefined;
            statistics?: ({
                statistics?: {
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } | undefined;
            } & {
                statistics?: ({
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } & {
                    speakerTag?: string | undefined;
                    speechBoundaries?: ({
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } & {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["speechBoundaries"], keyof import("./statistics_common").AudioSegmentBoundaries>, never>) | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: ({
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } & {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: ({
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] & ({
                            level?: number | undefined;
                            value?: number | undefined;
                        } & {
                            level?: number | undefined;
                            value?: number | undefined;
                        } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["wordsPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["wordsPerSecond"]["quantiles"], keyof {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[]>, never>) | undefined;
                    } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["wordsPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
                    lettersPerSecond?: ({
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } & {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: ({
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] & ({
                            level?: number | undefined;
                            value?: number | undefined;
                        } & {
                            level?: number | undefined;
                            value?: number | undefined;
                        } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["lettersPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["lettersPerSecond"]["quantiles"], keyof {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[]>, never>) | undefined;
                    } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"]["lettersPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
                } & Record<Exclude<keyof I["phrases"][number]["statistics"]["statistics"], keyof UtteranceStatistics>, never>) | undefined;
            } & Record<Exclude<keyof I["phrases"][number]["statistics"], "statistics">, never>) | undefined;
            classifiers?: ({
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[] & ({
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            } & {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: ({
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] & ({
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                } & {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                } & Record<Exclude<keyof I["phrases"][number]["classifiers"][number]["highlights"][number], keyof import("../../../../../yandex/cloud/speechsense/v1/analysis/predefined_classifiers").PhraseHighlight>, never>)[] & Record<Exclude<keyof I["phrases"][number]["classifiers"][number]["highlights"], keyof {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[]>, never>) | undefined;
                labels?: ({
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] & ({
                    label?: string | undefined;
                    confidence?: number | undefined;
                } & {
                    label?: string | undefined;
                    confidence?: number | undefined;
                } & Record<Exclude<keyof I["phrases"][number]["classifiers"][number]["labels"][number], keyof import("../../../../../yandex/cloud/speechsense/v1/analysis/predefined_classifiers").RecognitionClassifierLabel>, never>)[] & Record<Exclude<keyof I["phrases"][number]["classifiers"][number]["labels"], keyof {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["phrases"][number]["classifiers"][number], keyof RecognitionClassifierResult>, never>)[] & Record<Exclude<keyof I["phrases"][number]["classifiers"], keyof {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[]>, never>) | undefined;
        } & Record<Exclude<keyof I["phrases"][number], keyof Phrase>, never>)[] & Record<Exclude<keyof I["phrases"], keyof {
            channelNumber?: number | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            phrase?: {
                text?: string | undefined;
                language?: string | undefined;
                normalizedText?: string | undefined;
                words?: {
                    word?: string | undefined;
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                }[] | undefined;
            } | undefined;
            statistics?: {
                statistics?: {
                    speakerTag?: string | undefined;
                    speechBoundaries?: {
                        startTimeMs?: number | undefined;
                        endTimeMs?: number | undefined;
                        durationSeconds?: number | undefined;
                    } | undefined;
                    totalSpeechMs?: number | undefined;
                    speechRatio?: number | undefined;
                    totalSilenceMs?: number | undefined;
                    silenceRatio?: number | undefined;
                    wordsCount?: number | undefined;
                    lettersCount?: number | undefined;
                    wordsPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                    lettersPerSecond?: {
                        min?: number | undefined;
                        max?: number | undefined;
                        mean?: number | undefined;
                        std?: number | undefined;
                        quantiles?: {
                            level?: number | undefined;
                            value?: number | undefined;
                        }[] | undefined;
                    } | undefined;
                } | undefined;
            } | undefined;
            classifiers?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                classifier?: string | undefined;
                highlights?: {
                    text?: string | undefined;
                    offset?: number | undefined;
                    count?: number | undefined;
                }[] | undefined;
                labels?: {
                    label?: string | undefined;
                    confidence?: number | undefined;
                }[] | undefined;
            }[] | undefined;
        }[]>, never>) | undefined;
        algorithmsMetadata?: ({
            createdTaskDate?: Date | undefined;
            completedTaskDate?: Date | undefined;
            error?: {
                code?: string | undefined;
                message?: string | undefined;
            } | undefined;
            traceId?: string | undefined;
            name?: string | undefined;
        }[] & ({
            createdTaskDate?: Date | undefined;
            completedTaskDate?: Date | undefined;
            error?: {
                code?: string | undefined;
                message?: string | undefined;
            } | undefined;
            traceId?: string | undefined;
            name?: string | undefined;
        } & {
            createdTaskDate?: Date | undefined;
            completedTaskDate?: Date | undefined;
            error?: ({
                code?: string | undefined;
                message?: string | undefined;
            } & {
                code?: string | undefined;
                message?: string | undefined;
            } & Record<Exclude<keyof I["algorithmsMetadata"][number]["error"], keyof Error>, never>) | undefined;
            traceId?: string | undefined;
            name?: string | undefined;
        } & Record<Exclude<keyof I["algorithmsMetadata"][number], keyof AlgorithmMetadata>, never>)[] & Record<Exclude<keyof I["algorithmsMetadata"], keyof {
            createdTaskDate?: Date | undefined;
            completedTaskDate?: Date | undefined;
            error?: {
                code?: string | undefined;
                message?: string | undefined;
            } | undefined;
            traceId?: string | undefined;
            name?: string | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof Transcription>, never>>(object: I): Transcription;
};
export declare const Phrase: {
    encode(message: Phrase, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Phrase;
    fromJSON(object: any): Phrase;
    toJSON(message: Phrase): unknown;
    fromPartial<I extends {
        channelNumber?: number | undefined;
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
        phrase?: {
            text?: string | undefined;
            language?: string | undefined;
            normalizedText?: string | undefined;
            words?: {
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            }[] | undefined;
        } | undefined;
        statistics?: {
            statistics?: {
                speakerTag?: string | undefined;
                speechBoundaries?: {
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                    durationSeconds?: number | undefined;
                } | undefined;
                totalSpeechMs?: number | undefined;
                speechRatio?: number | undefined;
                totalSilenceMs?: number | undefined;
                silenceRatio?: number | undefined;
                wordsCount?: number | undefined;
                lettersCount?: number | undefined;
                wordsPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
                lettersPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
            } | undefined;
        } | undefined;
        classifiers?: {
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            classifier?: string | undefined;
            highlights?: {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[] | undefined;
            labels?: {
                label?: string | undefined;
                confidence?: number | undefined;
            }[] | undefined;
        }[] | undefined;
    } & {
        channelNumber?: number | undefined;
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
        phrase?: ({
            text?: string | undefined;
            language?: string | undefined;
            normalizedText?: string | undefined;
            words?: {
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            }[] | undefined;
        } & {
            text?: string | undefined;
            language?: string | undefined;
            normalizedText?: string | undefined;
            words?: ({
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            }[] & ({
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            } & {
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            } & Record<Exclude<keyof I["phrase"]["words"][number], keyof Word>, never>)[] & Record<Exclude<keyof I["phrase"]["words"], keyof {
                word?: string | undefined;
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
            }[]>, never>) | undefined;
        } & Record<Exclude<keyof I["phrase"], keyof PhraseText>, never>) | undefined;
        statistics?: ({
            statistics?: {
                speakerTag?: string | undefined;
                speechBoundaries?: {
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                    durationSeconds?: number | undefined;
                } | undefined;
                totalSpeechMs?: number | undefined;
                speechRatio?: number | undefined;
                totalSilenceMs?: number | undefined;
                silenceRatio?: number | undefined;
                wordsCount?: number | undefined;
                lettersCount?: number | undefined;
                wordsPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
                lettersPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
            } | undefined;
        } & {
            statistics?: ({
                speakerTag?: string | undefined;
                speechBoundaries?: {
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                    durationSeconds?: number | undefined;
                } | undefined;
                totalSpeechMs?: number | undefined;
                speechRatio?: number | undefined;
                totalSilenceMs?: number | undefined;
                silenceRatio?: number | undefined;
                wordsCount?: number | undefined;
                lettersCount?: number | undefined;
                wordsPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
                lettersPerSecond?: {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } | undefined;
            } & {
                speakerTag?: string | undefined;
                speechBoundaries?: ({
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                    durationSeconds?: number | undefined;
                } & {
                    startTimeMs?: number | undefined;
                    endTimeMs?: number | undefined;
                    durationSeconds?: number | undefined;
                } & Record<Exclude<keyof I["statistics"]["statistics"]["speechBoundaries"], keyof import("./statistics_common").AudioSegmentBoundaries>, never>) | undefined;
                totalSpeechMs?: number | undefined;
                speechRatio?: number | undefined;
                totalSilenceMs?: number | undefined;
                silenceRatio?: number | undefined;
                wordsCount?: number | undefined;
                lettersCount?: number | undefined;
                wordsPerSecond?: ({
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } & {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: ({
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] & ({
                        level?: number | undefined;
                        value?: number | undefined;
                    } & {
                        level?: number | undefined;
                        value?: number | undefined;
                    } & Record<Exclude<keyof I["statistics"]["statistics"]["wordsPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["statistics"]["statistics"]["wordsPerSecond"]["quantiles"], keyof {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[]>, never>) | undefined;
                } & Record<Exclude<keyof I["statistics"]["statistics"]["wordsPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
                lettersPerSecond?: ({
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] | undefined;
                } & {
                    min?: number | undefined;
                    max?: number | undefined;
                    mean?: number | undefined;
                    std?: number | undefined;
                    quantiles?: ({
                        level?: number | undefined;
                        value?: number | undefined;
                    }[] & ({
                        level?: number | undefined;
                        value?: number | undefined;
                    } & {
                        level?: number | undefined;
                        value?: number | undefined;
                    } & Record<Exclude<keyof I["statistics"]["statistics"]["lettersPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["statistics"]["statistics"]["lettersPerSecond"]["quantiles"], keyof {
                        level?: number | undefined;
                        value?: number | undefined;
                    }[]>, never>) | undefined;
                } & Record<Exclude<keyof I["statistics"]["statistics"]["lettersPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
            } & Record<Exclude<keyof I["statistics"]["statistics"], keyof UtteranceStatistics>, never>) | undefined;
        } & Record<Exclude<keyof I["statistics"], "statistics">, never>) | undefined;
        classifiers?: ({
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            classifier?: string | undefined;
            highlights?: {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[] | undefined;
            labels?: {
                label?: string | undefined;
                confidence?: number | undefined;
            }[] | undefined;
        }[] & ({
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            classifier?: string | undefined;
            highlights?: {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[] | undefined;
            labels?: {
                label?: string | undefined;
                confidence?: number | undefined;
            }[] | undefined;
        } & {
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            classifier?: string | undefined;
            highlights?: ({
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[] & ({
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            } & {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            } & Record<Exclude<keyof I["classifiers"][number]["highlights"][number], keyof import("../../../../../yandex/cloud/speechsense/v1/analysis/predefined_classifiers").PhraseHighlight>, never>)[] & Record<Exclude<keyof I["classifiers"][number]["highlights"], keyof {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[]>, never>) | undefined;
            labels?: ({
                label?: string | undefined;
                confidence?: number | undefined;
            }[] & ({
                label?: string | undefined;
                confidence?: number | undefined;
            } & {
                label?: string | undefined;
                confidence?: number | undefined;
            } & Record<Exclude<keyof I["classifiers"][number]["labels"][number], keyof import("../../../../../yandex/cloud/speechsense/v1/analysis/predefined_classifiers").RecognitionClassifierLabel>, never>)[] & Record<Exclude<keyof I["classifiers"][number]["labels"], keyof {
                label?: string | undefined;
                confidence?: number | undefined;
            }[]>, never>) | undefined;
        } & Record<Exclude<keyof I["classifiers"][number], keyof RecognitionClassifierResult>, never>)[] & Record<Exclude<keyof I["classifiers"], keyof {
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
            classifier?: string | undefined;
            highlights?: {
                text?: string | undefined;
                offset?: number | undefined;
                count?: number | undefined;
            }[] | undefined;
            labels?: {
                label?: string | undefined;
                confidence?: number | undefined;
            }[] | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof Phrase>, never>>(object: I): Phrase;
};
export declare const PhraseText: {
    encode(message: PhraseText, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PhraseText;
    fromJSON(object: any): PhraseText;
    toJSON(message: PhraseText): unknown;
    fromPartial<I extends {
        text?: string | undefined;
        language?: string | undefined;
        normalizedText?: string | undefined;
        words?: {
            word?: string | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
        }[] | undefined;
    } & {
        text?: string | undefined;
        language?: string | undefined;
        normalizedText?: string | undefined;
        words?: ({
            word?: string | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
        }[] & ({
            word?: string | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
        } & {
            word?: string | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
        } & Record<Exclude<keyof I["words"][number], keyof Word>, never>)[] & Record<Exclude<keyof I["words"], keyof {
            word?: string | undefined;
            startTimeMs?: number | undefined;
            endTimeMs?: number | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof PhraseText>, never>>(object: I): PhraseText;
};
export declare const Word: {
    encode(message: Word, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Word;
    fromJSON(object: any): Word;
    toJSON(message: Word): unknown;
    fromPartial<I extends {
        word?: string | undefined;
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
    } & {
        word?: string | undefined;
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
    } & Record<Exclude<keyof I, keyof Word>, never>>(object: I): Word;
};
export declare const AlgorithmMetadata: {
    encode(message: AlgorithmMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AlgorithmMetadata;
    fromJSON(object: any): AlgorithmMetadata;
    toJSON(message: AlgorithmMetadata): unknown;
    fromPartial<I extends {
        createdTaskDate?: Date | undefined;
        completedTaskDate?: Date | undefined;
        error?: {
            code?: string | undefined;
            message?: string | undefined;
        } | undefined;
        traceId?: string | undefined;
        name?: string | undefined;
    } & {
        createdTaskDate?: Date | undefined;
        completedTaskDate?: Date | undefined;
        error?: ({
            code?: string | undefined;
            message?: string | undefined;
        } & {
            code?: string | undefined;
            message?: string | undefined;
        } & Record<Exclude<keyof I["error"], keyof Error>, never>) | undefined;
        traceId?: string | undefined;
        name?: string | undefined;
    } & Record<Exclude<keyof I, keyof AlgorithmMetadata>, never>>(object: I): AlgorithmMetadata;
};
export declare const Error: {
    encode(message: Error, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Error;
    fromJSON(object: any): Error;
    toJSON(message: Error): unknown;
    fromPartial<I extends {
        code?: string | undefined;
        message?: string | undefined;
    } & {
        code?: string | undefined;
        message?: string | undefined;
    } & Record<Exclude<keyof I, keyof Error>, never>>(object: I): Error;
};
export declare const PhraseStatistics: {
    encode(message: PhraseStatistics, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PhraseStatistics;
    fromJSON(object: any): PhraseStatistics;
    toJSON(message: PhraseStatistics): unknown;
    fromPartial<I extends {
        statistics?: {
            speakerTag?: string | undefined;
            speechBoundaries?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                durationSeconds?: number | undefined;
            } | undefined;
            totalSpeechMs?: number | undefined;
            speechRatio?: number | undefined;
            totalSilenceMs?: number | undefined;
            silenceRatio?: number | undefined;
            wordsCount?: number | undefined;
            lettersCount?: number | undefined;
            wordsPerSecond?: {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } | undefined;
            lettersPerSecond?: {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } | undefined;
        } | undefined;
    } & {
        statistics?: ({
            speakerTag?: string | undefined;
            speechBoundaries?: {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                durationSeconds?: number | undefined;
            } | undefined;
            totalSpeechMs?: number | undefined;
            speechRatio?: number | undefined;
            totalSilenceMs?: number | undefined;
            silenceRatio?: number | undefined;
            wordsCount?: number | undefined;
            lettersCount?: number | undefined;
            wordsPerSecond?: {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } | undefined;
            lettersPerSecond?: {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } | undefined;
        } & {
            speakerTag?: string | undefined;
            speechBoundaries?: ({
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                durationSeconds?: number | undefined;
            } & {
                startTimeMs?: number | undefined;
                endTimeMs?: number | undefined;
                durationSeconds?: number | undefined;
            } & Record<Exclude<keyof I["statistics"]["speechBoundaries"], keyof import("./statistics_common").AudioSegmentBoundaries>, never>) | undefined;
            totalSpeechMs?: number | undefined;
            speechRatio?: number | undefined;
            totalSilenceMs?: number | undefined;
            silenceRatio?: number | undefined;
            wordsCount?: number | undefined;
            lettersCount?: number | undefined;
            wordsPerSecond?: ({
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } & {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: ({
                    level?: number | undefined;
                    value?: number | undefined;
                }[] & ({
                    level?: number | undefined;
                    value?: number | undefined;
                } & {
                    level?: number | undefined;
                    value?: number | undefined;
                } & Record<Exclude<keyof I["statistics"]["wordsPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["statistics"]["wordsPerSecond"]["quantiles"], keyof {
                    level?: number | undefined;
                    value?: number | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["statistics"]["wordsPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
            lettersPerSecond?: ({
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: {
                    level?: number | undefined;
                    value?: number | undefined;
                }[] | undefined;
            } & {
                min?: number | undefined;
                max?: number | undefined;
                mean?: number | undefined;
                std?: number | undefined;
                quantiles?: ({
                    level?: number | undefined;
                    value?: number | undefined;
                }[] & ({
                    level?: number | undefined;
                    value?: number | undefined;
                } & {
                    level?: number | undefined;
                    value?: number | undefined;
                } & Record<Exclude<keyof I["statistics"]["lettersPerSecond"]["quantiles"][number], keyof import("./statistics_common").Quantile>, never>)[] & Record<Exclude<keyof I["statistics"]["lettersPerSecond"]["quantiles"], keyof {
                    level?: number | undefined;
                    value?: number | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["statistics"]["lettersPerSecond"], keyof import("./statistics_common").DescriptiveStatistics>, never>) | undefined;
        } & Record<Exclude<keyof I["statistics"], keyof UtteranceStatistics>, never>) | undefined;
    } & Record<Exclude<keyof I, "statistics">, never>>(object: I): PhraseStatistics;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
