import { StateField } from "@codemirror/state";
import { type DecorationSet } from "@codemirror/view";
export interface AIState {
    loading: boolean;
    error: string | null;
}
export declare const startAIRequest: import("@codemirror/state").StateEffectType<null>;
export declare const completeAIRequest: import("@codemirror/state").StateEffectType<null>;
export declare const errorAIRequest: import("@codemirror/state").StateEffectType<string>;
export declare const aiStateField: StateField<AIState>;
export declare const showAIHighlight: import("@codemirror/state").StateEffectType<{
    from: number;
    to: number;
}>;
export declare const hideAIHighlight: import("@codemirror/state").StateEffectType<null>;
export declare const aiHighlightField: StateField<DecorationSet>;
//# sourceMappingURL=state.d.ts.map