import type CreativeEditorSDK from '@cesdk/cesdk-js';
import { type GatewayProviderConfiguration, type GatewayInput } from '@imgly/plugin-ai-generation-web';
import { TextProvider } from '../types';
/**
 * Creates a text generation provider that talks to the IMG.LY gateway.
 * Text is streamed via SSE delta events and applied progressively.
 *
 * Text has a single capability (chat/text-in-text-out), so the default
 * quick actions are applied unconditionally. Customers can disable or
 * override individual entries via `config.supportedQuickActions`.
 *
 * @param modelId - The model identifier (e.g., 'openai/gpt-4o')
 * @param config  - Gateway connection configuration
 */
export declare function GatewayProvider(modelId: string, config: GatewayProviderConfiguration): (context: {
    cesdk: CreativeEditorSDK;
}) => Promise<TextProvider<GatewayInput>>;
