import { type Provider } from '@imgly/plugin-ai-generation-web'; import CreativeEditorSDK from '@cesdk/cesdk-js'; import type { Recraft20bConfiguration } from './recraftTypes'; type Recraft20bOutput = { kind: 'image'; url: string; }; type Recraft20bInput = { prompt: string; image_size?: 'square_hd' | 'square' | 'portrait_4_3' | 'portrait_16_9' | 'landscape_4_3' | 'landscape_16_9' | { width: number; height: number; }; style?: string; colors?: Array<{ r: number; g: number; b: number; }>; }; export declare function Recraft20b(config: Recraft20bConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise>; declare function getProvider(cesdk: CreativeEditorSDK, config: Recraft20bConfiguration): Provider<'image', Recraft20bInput, Recraft20bOutput>; export default getProvider;