import { EditorView, ViewPlugin } from "@codemirror/view";
import { type AIConfig } from "./api";
import { AIDialog } from "./dialog";
export interface AISlashConfig extends AIConfig {
    dialog?: AIDialog;
    i18n?: Partial<import('./index').AIPluginI18n>;
}
export declare function aiSlashPlugin(config: AISlashConfig): ViewPlugin<{
    view: EditorView;
    dialog: AIDialog;
    aiCommands: HTMLElement[];
    update(): void;
    injectAICommands(menu: HTMLElement): void;
    destroy(): void;
}, undefined>;
//# sourceMappingURL=slash-ai.d.ts.map