import { Request, Polly as AWSPolly } from 'aws-sdk';
declare type ReturnTypeFrom<K extends keyof AWSPolly> = AWSPolly[K] extends (...args: any) => Request<infer R, any> ? R : never;
declare type ParamsFrom<K extends keyof AWSPolly, Extras> = AWSPolly[K] extends {
    (param: infer P, callback: (...args: any) => void): Request<infer R, any>;
    (callback: (...args: any) => void): any;
} ? P & Extras : never;
export declare class Polly {
    private readonly client;
    private constructor();
    readonly signingRegion: undefined;
    readonly service: "polly";
    readonly global: false;
    readonly category: "Machine Learning";
    readonly topLevelCalls: readonly ["listSpeechSynthesisTasks"];
    deleteLexicon: (params: ParamsFrom<'deleteLexicon', Record<string, never>>) => Promise<ReturnTypeFrom<'deleteLexicon'>>;
    describeVoices: (params: ParamsFrom<'describeVoices', Record<string, never>>) => Promise<ReturnTypeFrom<'describeVoices'>>;
    getLexicon: (params: ParamsFrom<'getLexicon', Record<string, never>>) => Promise<ReturnTypeFrom<'getLexicon'>>;
    getSpeechSynthesisTask: (params: ParamsFrom<'getSpeechSynthesisTask', Record<string, never>>) => Promise<ReturnTypeFrom<'getSpeechSynthesisTask'>>;
    listLexicons: (params: ParamsFrom<'listLexicons', Record<string, never>>) => Promise<ReturnTypeFrom<'listLexicons'>>;
    listSpeechSynthesisTasks: (params: ParamsFrom<'listSpeechSynthesisTasks', Record<string, never>>) => Promise<ReturnTypeFrom<'listSpeechSynthesisTasks'>>;
    putLexicon: (params: ParamsFrom<'putLexicon', Record<string, never>>) => Promise<ReturnTypeFrom<'putLexicon'>>;
    startSpeechSynthesisTask: (params: ParamsFrom<'startSpeechSynthesisTask', Record<string, never>>) => Promise<ReturnTypeFrom<'startSpeechSynthesisTask'>>;
    synthesizeSpeech: (params: ParamsFrom<'synthesizeSpeech', Record<string, never>>) => Promise<ReturnTypeFrom<'synthesizeSpeech'>>;
    static fromClient(client: AWSPolly): Polly;
    static client(options?: AWSPolly.Types.ClientConfiguration): Polly;
}
export {};
