import http from 'http'; import { CreateTTSRequestPayload } from '../model/createTTSRequestPayload'; import { OrchestratorPipelineResult } from '../model/orchestratorPipelineResult'; import { TaskID } from '../model/taskID'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum TextToSpeechApiApiKeys { APIKeyHeader = 0 } export declare class TextToSpeechApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; APIKeyHeader: ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: TextToSpeechApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; createTts(createTTSRequestPayload: CreateTTSRequestPayload, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: TaskID; }>; getTtsResultById(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: OrchestratorPipelineResult; }>; }