9 lines
372 B
TypeScript
9 lines
372 B
TypeScript
|
|
import { TTSProvider, TTSProviderConfig, TTSOptions, TTSResult } from '../../interfaces';
|
||
|
|
export declare class GoogleCloudTTSProvider implements TTSProvider {
|
||
|
|
private config;
|
||
|
|
private client;
|
||
|
|
constructor(config: TTSProviderConfig);
|
||
|
|
textToSpeech(text: string, outputPath: string, options?: TTSOptions): Promise<TTSResult>;
|
||
|
|
private extractLanguageCode;
|
||
|
|
}
|