import type { RicosDocumentNode } from '../ricos-schema/next-schema/index.js';
import type { EditorPluginConfig, EditorPluginCreator, ModalProps } from '../ricos-types/index.js';
import type { InlinePromptInterceptor } from './types.js';
declare module '../tiptap/core/index' {
    interface Commands<ReturnType> {
        inlineAi: {
            triggerInlineAi: (args: {
                invocationId?: string;
                headless?: boolean;
                prompt: string;
                selection: RicosDocumentNode[];
                modalConfig?: Omit<ModalProps['modalConfig'], 'Component' | 'id' | 'componentProps' | 'layout'>;
                onDone?: (result: {
                    type: 'error';
                } | {
                    type: 'done';
                }) => void;
                acceptByDefault?: boolean;
                files?: {
                    fileUrl: string;
                    mimeType: string;
                    fileName: string;
                }[];
                traceParams?: Record<string, string>;
                systemPromptId?: string;
            }) => ReturnType;
        };
    }
}
export type InlineAiPluginConfig = {
    type: 'inlineAi';
    interceptInlinePrompt?: InlinePromptInterceptor;
    onThemeChange?: (theme: any) => void;
    getCurrentTheme?: () => any;
    enableSelectionTooltip?: boolean;
    disableInlinePrompt?: boolean;
    aiProjectId?: string;
    useWixelWidgets?: boolean;
    generatingLabel?: string | null;
} & EditorPluginConfig;
export declare const pluginInlineAi: EditorPluginCreator<InlineAiPluginConfig>;
//# sourceMappingURL=editor.d.ts.map