import { type Provider, type AudioOutput, CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web';
import CreativeEditorSDK from '@cesdk/cesdk-js';
type ElevenlabsInput = {
    prompt: string;
    voice_id: string;
    speed: number;
};
interface ProviderConfiguration extends CommonProviderConfiguration<ElevenlabsInput, AudioOutput> {
    /**
     * Base URL used for the UI assets used in the plugin.
     *
     * By default, we load the assets from the IMG.LY CDN You can copy the assets.
     * from the `/assets` folder to your own server and set the base URL to your server.
     */
    baseURL?: string;
}
export declare function ElevenMultilingualV2(config: ProviderConfiguration): (context: {
    cesdk: CreativeEditorSDK;
}) => Promise<Provider<'audio', ElevenlabsInput, AudioOutput>>;
declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'audio', ElevenlabsInput, AudioOutput>;
export declare function generateSpeech(text: string, voiceId: string, options: {
    stability?: number;
    speed?: number;
    similarityBoost?: number;
}, config: ProviderConfiguration, abortSignal?: AbortSignal): Promise<Blob>;
export default getProvider;
