import { type Provider, type CommonProviderConfiguration } from '@imgly/plugin-ai-generation-web'; import CreativeEditorSDK from '@cesdk/cesdk-js'; export interface SeedreamV4TextToImageInput { prompt: string; image_size?: 'square_hd' | 'square' | 'portrait_4_3' | 'portrait_16_9' | 'landscape_4_3' | 'landscape_16_9' | { width: number; height: number; }; num_images?: number; max_images?: number; seed?: number; sync_mode?: boolean; enable_safety_checker?: boolean; } type SeedreamV4Output = { kind: 'image'; url: string; }; export declare function SeedreamV4(config: CommonProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise>; declare function getProvider(cesdk: CreativeEditorSDK, config: CommonProviderConfiguration): Provider<'image', SeedreamV4TextToImageInput, SeedreamV4Output>; export default getProvider;