/// import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "speechkit.tts.v3"; /** Specifies the loudness normalization algorithm to use when synthesizing audio. */ export declare enum LoudnessNormalizationType { /** LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED - Unspecified loudness normalization. The default behavior will be used. */ LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED = 0, /** MAX_PEAK - The type of normalization, wherein the gain is changed to bring the highest PCM sample value or analog signal peak to a given level. */ MAX_PEAK = 1, /** LUFS - The type of normalization based on EBU R 128 recommendation. */ LUFS = 2, UNRECOGNIZED = -1 } export declare function loudnessNormalizationTypeFromJSON(object: any): LoudnessNormalizationType; export declare function loudnessNormalizationTypeToJSON(object: LoudnessNormalizationType): string; export interface AudioContent { /** Bytes with audio data. */ content: Buffer | undefined; /** Description of the audio format. */ audioSpec?: AudioFormatOptions; } export interface AudioFormatOptions { /** The audio format specified in request parameters. */ rawAudio?: RawAudio | undefined; /** The audio format specified inside the container metadata. */ containerAudio?: ContainerAudio | undefined; } export interface RawAudio { /** Encoding type. */ audioEncoding: RawAudio_AudioEncoding; /** Sampling frequency of the signal. */ sampleRateHertz: number; } export declare enum RawAudio_AudioEncoding { AUDIO_ENCODING_UNSPECIFIED = 0, /** LINEAR16_PCM - Audio bit depth 16-bit signed little-endian (Linear PCM). */ LINEAR16_PCM = 1, UNRECOGNIZED = -1 } export declare function rawAudio_AudioEncodingFromJSON(object: any): RawAudio_AudioEncoding; export declare function rawAudio_AudioEncodingToJSON(object: RawAudio_AudioEncoding): string; export interface ContainerAudio { containerAudioType: ContainerAudio_ContainerAudioType; } export declare enum ContainerAudio_ContainerAudioType { CONTAINER_AUDIO_TYPE_UNSPECIFIED = 0, /** WAV - Audio bit depth 16-bit signed little-endian (Linear PCM). */ WAV = 1, /** OGG_OPUS - Data is encoded using the OPUS audio codec and compressed using the OGG container format. */ OGG_OPUS = 2, /** MP3 - Data is encoded using MPEG-1/2 Layer III and compressed using the MP3 container format. */ MP3 = 3, UNRECOGNIZED = -1 } export declare function containerAudio_ContainerAudioTypeFromJSON(object: any): ContainerAudio_ContainerAudioType; export declare function containerAudio_ContainerAudioTypeToJSON(object: ContainerAudio_ContainerAudioType): string; export interface TextVariable { /** The name of the variable. */ variableName: string; /** The text of the variable. */ variableValue: string; } export interface AudioVariable { /** The name of the variable. */ variableName: string; /** Start time of the variable in milliseconds. */ variableStartMs: number; /** Length of the variable in milliseconds. */ variableLengthMs: number; } export interface UtteranceSynthesisResponse { /** Part of synthesized audio. */ audioChunk?: AudioChunk; /** Part of synthesized text. */ textChunk?: TextChunk; /** Start time of the audio chunk in milliseconds. */ startMs: number; /** Length of the audio chunk in milliseconds. */ lengthMs: number; } export interface AudioTemplate { /** Audio file. */ audio?: AudioContent; /** Template and description of its variables. */ textTemplate?: TextTemplate; /** Describing variables in audio. */ variables: AudioVariable[]; } export interface AudioChunk { /** Sequence of bytes of the synthesized audio in format specified in output_audio_spec. */ data: Buffer; } export interface TextChunk { /** Synthesized text. */ text: string; } export interface TextTemplate { /** * Template text. * * Sample:`The {animal} goes to the {place}.` */ textTemplate: string; /** * Defining variables in template text. * * Sample: `{animal: cat, place: forest}` */ variables: TextVariable[]; } export interface DurationHint { /** Type of duration constraint. */ policy: DurationHint_DurationHintPolicy; /** Constraint on audio duration in milliseconds. */ durationMs: number; } export declare enum DurationHint_DurationHintPolicy { DURATION_HINT_POLICY_UNSPECIFIED = 0, /** EXACT_DURATION - Limit audio duration to exact value. */ EXACT_DURATION = 1, /** MIN_DURATION - Limit the minimum audio duration. */ MIN_DURATION = 2, /** MAX_DURATION - Limit the maximum audio duration. */ MAX_DURATION = 3, UNRECOGNIZED = -1 } export declare function durationHint_DurationHintPolicyFromJSON(object: any): DurationHint_DurationHintPolicy; export declare function durationHint_DurationHintPolicyToJSON(object: DurationHint_DurationHintPolicy): string; export interface Hints { /** Name of speaker to use. */ voice: string | undefined; /** Template for synthesizing. */ audioTemplate?: AudioTemplate | undefined; /** Hint to change speed. */ speed: number | undefined; /** * Hint to regulate normalization level. * * For `MAX_PEAK` loudness_normalization_type: volume changes in a range (0;1], default value is 0.7. * * For `LUFS` loudness_normalization_type: volume changes in a range [-145;0), default value is -19. */ volume: number | undefined; /** Hint to specify pronunciation character for the speaker. */ role: string | undefined; /** Hint to increase (or decrease) speaker's pitch, measured in Hz. Valid values are in range [-1000;1000], default value is 0. */ pitchShift: number | undefined; /** Hint to limit both minimum and maximum audio duration. */ duration?: DurationHint | undefined; } export interface UtteranceSynthesisRequest { /** * The name of the model. * Specifies basic synthesis functionality. Currently should be empty. Do not use it. */ model: string; /** Raw text (e.g. "Hello, Alice"). */ text: string | undefined; /** Text template instance, e.g. `{"Hello, {username}" with username="Alice"}`. */ textTemplate?: TextTemplate | undefined; /** Optional hints for synthesis. */ hints: Hints[]; /** Optional. Default: 22050 Hz, linear 16-bit signed little-endian PCM, with WAV header */ outputAudioSpec?: AudioFormatOptions; /** * Specifies type of loudness normalization. * Optional. Default: `LUFS`. */ loudnessNormalizationType: UtteranceSynthesisRequest_LoudnessNormalizationType; /** Optional. Automatically split long text to several utterances and bill accordingly. Some degradation in service quality is possible. */ unsafeMode: boolean; } export declare enum UtteranceSynthesisRequest_LoudnessNormalizationType { LOUDNESS_NORMALIZATION_TYPE_UNSPECIFIED = 0, /** MAX_PEAK - The type of normalization, wherein the gain is changed to bring the highest PCM sample value or analog signal peak to a given level. */ MAX_PEAK = 1, /** LUFS - The type of normalization based on EBU R 128 recommendation. */ LUFS = 2, UNRECOGNIZED = -1 } export declare function utteranceSynthesisRequest_LoudnessNormalizationTypeFromJSON(object: any): UtteranceSynthesisRequest_LoudnessNormalizationType; export declare function utteranceSynthesisRequest_LoudnessNormalizationTypeToJSON(object: UtteranceSynthesisRequest_LoudnessNormalizationType): string; export interface SynthesisOptions { /** The name of the TTS model to use for synthesis. Currently should be empty. Do not use it. */ model: string; /** The voice to use for speech synthesis. */ voice: string; /** The role or speaking style. Can be used to specify pronunciation character for the speaker. */ role: string; /** Speed multiplier (default: 1.0). */ speed: number; /** * Volume adjustment: * * For `MAX_PEAK`: range is (0, 1], default 0.7. * * For `LUFS`: range is [-145, 0), default -19. */ volume: number; /** Pitch adjustment, in Hz, range [-1000, 1000], default 0. */ pitchShift: number; /** Specifies output audio format. Default: 22050Hz, linear 16-bit signed little-endian PCM, with WAV header. */ outputAudioSpec?: AudioFormatOptions; /** Loudness normalization type for output (default: `LUFS`). */ loudnessNormalizationType: LoudnessNormalizationType; } /** The input for synthesis. */ export interface SynthesisInput { /** The text string to be synthesized. */ text: string; } /** Event to forcibly trigger synthesis. */ export interface ForceSynthesisEvent { } /** Sent by client to control or provide data during streaming synthesis. */ export interface StreamSynthesisRequest { /** Synthesis options. Must be provided in the first request of the stream and cannot be updated afterwards. */ options?: SynthesisOptions | undefined; /** Input to be synthesized. */ synthesisInput?: SynthesisInput | undefined; /** Triggers immediate synthesis of buffered input. */ forceSynthesis?: ForceSynthesisEvent | undefined; } export interface StreamSynthesisResponse { /** Part of synthesized audio. */ audioChunk?: AudioChunk; /** Part of synthesized text. */ textChunk?: TextChunk; /** Start time of the audio chunk in milliseconds. */ startMs: number; /** Length of the audio chunk in milliseconds. */ lengthMs: number; } export declare const AudioContent: { encode(message: AudioContent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AudioContent; fromJSON(object: any): AudioContent; toJSON(message: AudioContent): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): AudioContent; }; export declare const AudioFormatOptions: { encode(message: AudioFormatOptions, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AudioFormatOptions; fromJSON(object: any): AudioFormatOptions; toJSON(message: AudioFormatOptions): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): AudioFormatOptions; }; export declare const RawAudio: { encode(message: RawAudio, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RawAudio; fromJSON(object: any): RawAudio; toJSON(message: RawAudio): unknown; fromPartial, never>>(object: I): RawAudio; }; export declare const ContainerAudio: { encode(message: ContainerAudio, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContainerAudio; fromJSON(object: any): ContainerAudio; toJSON(message: ContainerAudio): unknown; fromPartial, never>>(object: I): ContainerAudio; }; export declare const TextVariable: { encode(message: TextVariable, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TextVariable; fromJSON(object: any): TextVariable; toJSON(message: TextVariable): unknown; fromPartial, never>>(object: I): TextVariable; }; export declare const AudioVariable: { encode(message: AudioVariable, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AudioVariable; fromJSON(object: any): AudioVariable; toJSON(message: AudioVariable): unknown; fromPartial, never>>(object: I): AudioVariable; }; export declare const UtteranceSynthesisResponse: { encode(message: UtteranceSynthesisResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UtteranceSynthesisResponse; fromJSON(object: any): UtteranceSynthesisResponse; toJSON(message: UtteranceSynthesisResponse): unknown; fromPartial, never>) | undefined; textChunk?: ({ text?: string | undefined; } & { text?: string | undefined; } & Record, never>) | undefined; startMs?: number | undefined; lengthMs?: number | undefined; } & Record, never>>(object: I): UtteranceSynthesisResponse; }; export declare const AudioTemplate: { encode(message: AudioTemplate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AudioTemplate; fromJSON(object: any): AudioTemplate; toJSON(message: AudioTemplate): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; textTemplate?: ({ textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } & { textTemplate?: string | undefined; variables?: ({ variableName?: string | undefined; variableValue?: string | undefined; }[] & ({ variableName?: string | undefined; variableValue?: string | undefined; } & { variableName?: string | undefined; variableValue?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; variables?: ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] & ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): AudioTemplate; }; export declare const AudioChunk: { encode(message: AudioChunk, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AudioChunk; fromJSON(object: any): AudioChunk; toJSON(message: AudioChunk): unknown; fromPartial, never>>(object: I): AudioChunk; }; export declare const TextChunk: { encode(message: TextChunk, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TextChunk; fromJSON(object: any): TextChunk; toJSON(message: TextChunk): unknown; fromPartial, never>>(object: I): TextChunk; }; export declare const TextTemplate: { encode(message: TextTemplate, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TextTemplate; fromJSON(object: any): TextTemplate; toJSON(message: TextTemplate): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): TextTemplate; }; export declare const DurationHint: { encode(message: DurationHint, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DurationHint; fromJSON(object: any): DurationHint; toJSON(message: DurationHint): unknown; fromPartial, never>>(object: I): DurationHint; }; export declare const Hints: { encode(message: Hints, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Hints; fromJSON(object: any): Hints; toJSON(message: Hints): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; textTemplate?: ({ textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } & { textTemplate?: string | undefined; variables?: ({ variableName?: string | undefined; variableValue?: string | undefined; }[] & ({ variableName?: string | undefined; variableValue?: string | undefined; } & { variableName?: string | undefined; variableValue?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; variables?: ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] & ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; speed?: number | undefined; volume?: number | undefined; role?: string | undefined; pitchShift?: number | undefined; duration?: ({ policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } & { policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Hints; }; export declare const UtteranceSynthesisRequest: { encode(message: UtteranceSynthesisRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UtteranceSynthesisRequest; fromJSON(object: any): UtteranceSynthesisRequest; toJSON(message: UtteranceSynthesisRequest): unknown; fromPartial, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; hints?: ({ voice?: string | undefined; audioTemplate?: { audio?: { content?: Buffer | undefined; audioSpec?: { rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } | undefined; } | undefined; textTemplate?: { textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } | undefined; variables?: { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] | undefined; } | undefined; speed?: number | undefined; volume?: number | undefined; role?: string | undefined; pitchShift?: number | undefined; duration?: { policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } | undefined; }[] & ({ voice?: string | undefined; audioTemplate?: { audio?: { content?: Buffer | undefined; audioSpec?: { rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } | undefined; } | undefined; textTemplate?: { textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } | undefined; variables?: { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] | undefined; } | undefined; speed?: number | undefined; volume?: number | undefined; role?: string | undefined; pitchShift?: number | undefined; duration?: { policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } | undefined; } & { voice?: string | undefined; audioTemplate?: ({ audio?: { content?: Buffer | undefined; audioSpec?: { rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } | undefined; } | undefined; textTemplate?: { textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } | undefined; variables?: { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] | undefined; } & { audio?: ({ content?: Buffer | undefined; audioSpec?: { rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } | undefined; } & { content?: Buffer | undefined; audioSpec?: ({ rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } & { rawAudio?: ({ audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } & { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } & Record, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; textTemplate?: ({ textTemplate?: string | undefined; variables?: { variableName?: string | undefined; variableValue?: string | undefined; }[] | undefined; } & { textTemplate?: string | undefined; variables?: ({ variableName?: string | undefined; variableValue?: string | undefined; }[] & ({ variableName?: string | undefined; variableValue?: string | undefined; } & { variableName?: string | undefined; variableValue?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; variables?: ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; }[] & ({ variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & { variableName?: string | undefined; variableStartMs?: number | undefined; variableLengthMs?: number | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; speed?: number | undefined; volume?: number | undefined; role?: string | undefined; pitchShift?: number | undefined; duration?: ({ policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } & { policy?: DurationHint_DurationHintPolicy | undefined; durationMs?: number | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; outputAudioSpec?: ({ rawAudio?: { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } | undefined; containerAudio?: { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } | undefined; } & { rawAudio?: ({ audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } & { audioEncoding?: RawAudio_AudioEncoding | undefined; sampleRateHertz?: number | undefined; } & Record, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; loudnessNormalizationType?: UtteranceSynthesisRequest_LoudnessNormalizationType | undefined; unsafeMode?: boolean | undefined; } & Record, never>>(object: I): UtteranceSynthesisRequest; }; export declare const SynthesisOptions: { encode(message: SynthesisOptions, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SynthesisOptions; fromJSON(object: any): SynthesisOptions; toJSON(message: SynthesisOptions): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; loudnessNormalizationType?: LoudnessNormalizationType | undefined; } & Record, never>>(object: I): SynthesisOptions; }; export declare const SynthesisInput: { encode(message: SynthesisInput, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SynthesisInput; fromJSON(object: any): SynthesisInput; toJSON(message: SynthesisInput): unknown; fromPartial, never>>(object: I): SynthesisInput; }; export declare const ForceSynthesisEvent: { encode(_: ForceSynthesisEvent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ForceSynthesisEvent; fromJSON(_: any): ForceSynthesisEvent; toJSON(_: ForceSynthesisEvent): unknown; fromPartial, never>>(_: I): ForceSynthesisEvent; }; export declare const StreamSynthesisRequest: { encode(message: StreamSynthesisRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StreamSynthesisRequest; fromJSON(object: any): StreamSynthesisRequest; toJSON(message: StreamSynthesisRequest): unknown; fromPartial, never>) | undefined; containerAudio?: ({ containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & { containerAudioType?: ContainerAudio_ContainerAudioType | undefined; } & Record, never>) | undefined; } & Record, never>) | undefined; loudnessNormalizationType?: LoudnessNormalizationType | undefined; } & Record, never>) | undefined; synthesisInput?: ({ text?: string | undefined; } & { text?: string | undefined; } & Record, never>) | undefined; forceSynthesis?: ({} & {} & Record, never>) | undefined; } & Record, never>>(object: I): StreamSynthesisRequest; }; export declare const StreamSynthesisResponse: { encode(message: StreamSynthesisResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): StreamSynthesisResponse; fromJSON(object: any): StreamSynthesisResponse; toJSON(message: StreamSynthesisResponse): unknown; fromPartial, never>) | undefined; textChunk?: ({ text?: string | undefined; } & { text?: string | undefined; } & Record, never>) | undefined; startMs?: number | undefined; lengthMs?: number | undefined; } & Record, never>>(object: I): StreamSynthesisResponse; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};
= P extends Builtin ? P : P & { [K in keyof P]: Exact
; } & Record>, never>; export {};