import { CommonProviderConfiguration, type Provider } from '@imgly/plugin-ai-generation-web';
import { type RecraftV3Input } from '@fal-ai/client/endpoints';
import CreativeEditorSDK from '@cesdk/cesdk-js';
type RecraftV3Output = {
    kind: 'image';
    url: string;
};
export type StyleId = Extract<RecraftV3Input['style'], string>;
interface ProviderConfiguration extends CommonProviderConfiguration<RecraftV3Input, RecraftV3Output> {
    /**
     * 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 RecraftV3(config: ProviderConfiguration): (context: {
    cesdk: CreativeEditorSDK;
}) => Promise<Provider<'image', RecraftV3Input, RecraftV3Output>>;
declare function getProvider(cesdk: CreativeEditorSDK, config: ProviderConfiguration): Provider<'image', RecraftV3Input, RecraftV3Output>;
export default getProvider;
