/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleServerStreamingCall, handleBidiStreamingCall, Client, CallOptions, ClientReadableStream, Metadata, ClientDuplexStream } from '@grpc/grpc-js'; import { UtteranceSynthesisRequest, UtteranceSynthesisResponse, StreamSynthesisRequest, StreamSynthesisResponse } from '../../../../../yandex/cloud/ai/tts/v3/tts'; export declare const protobufPackage = "speechkit.tts.v3"; /** A set of methods for voice synthesis. */ export declare const SynthesizerService: { /** Synthesizing text into speech. */ readonly utteranceSynthesis: { readonly path: "/speechkit.tts.v3.Synthesizer/UtteranceSynthesis"; readonly requestStream: false; readonly responseStream: true; readonly requestSerialize: (value: UtteranceSynthesisRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UtteranceSynthesisRequest; readonly responseSerialize: (value: UtteranceSynthesisResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => UtteranceSynthesisResponse; }; /** Bidirectional streaming RPC for real-time synthesis. */ readonly streamSynthesis: { readonly path: "/speechkit.tts.v3.Synthesizer/StreamSynthesis"; readonly requestStream: true; readonly responseStream: true; readonly requestSerialize: (value: StreamSynthesisRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => StreamSynthesisRequest; readonly responseSerialize: (value: StreamSynthesisResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => StreamSynthesisResponse; }; }; export interface SynthesizerServer extends UntypedServiceImplementation { /** Synthesizing text into speech. */ utteranceSynthesis: handleServerStreamingCall; /** Bidirectional streaming RPC for real-time synthesis. */ streamSynthesis: handleBidiStreamingCall; } export interface SynthesizerClient extends Client { /** Synthesizing text into speech. */ utteranceSynthesis(request: UtteranceSynthesisRequest, options?: Partial): ClientReadableStream; utteranceSynthesis(request: UtteranceSynthesisRequest, metadata?: Metadata, options?: Partial): ClientReadableStream; /** Bidirectional streaming RPC for real-time synthesis. */ streamSynthesis(): ClientDuplexStream; streamSynthesis(options: Partial): ClientDuplexStream; streamSynthesis(metadata: Metadata, options?: Partial): ClientDuplexStream; } export declare const SynthesizerClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): SynthesizerClient; service: typeof SynthesizerService; };