import type CreativeEditorSDK from '@cesdk/cesdk-js'; import { type Provider, type ImageOutput, type QuickActionsInput, type GatewayProviderConfiguration, type GatewayInput } from '@imgly/plugin-ai-generation-web'; /** * Default quick actions for image-to-image gateway models. * * Maps the standard quick-action input (`uri`, `prompt`, `style`, `artist`) * to the gateway convention (`image_urls`, `prompt`). * * Pass this as `quickActions` when creating an i2i `GatewayProvider`. */ export declare const IMAGE_I2I_QUICK_ACTIONS: QuickActionsInput; export interface GatewayImageProviderOptions { /** * Quick actions supported by this provider. * * For image-to-image models, use the exported `IMAGE_I2I_QUICK_ACTIONS` * constant which maps the standard quick-action input to `image_urls`. */ quickActions?: QuickActionsInput; } /** * Creates an image generation provider that talks to the IMG.LY gateway. * Supports both text2image and image2image depending on the model's schema. * * @param modelId - The model identifier (e.g., 'fal-ai/flux/dev') * @param config - Gateway connection configuration * @param options - Image-specific provider options (e.g., quick actions) */ export declare function GatewayProvider(modelId: string, config: GatewayProviderConfiguration, options?: GatewayImageProviderOptions): (context: { cesdk: CreativeEditorSDK; }) => Promise>;