import type { Extension } from "@codemirror/state";
import { type AITooltipConfig } from "./tooltip-ai";
import { type AISlashConfig } from "./slash-ai";
export interface AIPluginI18n {
    improveWriting?: string;
    emojify?: string;
    makeLonger?: string;
    makeShorter?: string;
    fixSpellingGrammar?: string;
    simplifyLanguage?: string;
    continueWriting?: string;
    summary?: string;
    comment?: string;
    explain?: string;
    askAI?: string;
    askAIPlaceholder?: string;
}
export interface AIPluginConfig {
    endpoint?: string;
    apiBaseUrl?: string;
    apiKey?: string;
    model?: string;
    timeout?: number;
    headers?: Record<string, string>;
    customRequest?: (prompt: string, onChunk?: (chunk: string) => void, signal?: AbortSignal) => Promise<string>;
    enableTooltip?: boolean;
    enableSlash?: boolean;
    i18n?: Partial<AIPluginI18n>;
}
export declare function aiPlugin(config?: AIPluginConfig): Extension;
export type { AITooltipConfig, AISlashConfig };
//# sourceMappingURL=index.d.ts.map