import { EditorView } from "@codemirror/view";
export declare class AILoadingToast {
    dom: HTMLElement | null;
    view: EditorView;
    abortHandler: (() => void) | null;
    constructor(view: EditorView);
    createDOM(): HTMLElement;
    show(abortHandler: () => void, position?: {
        top: number;
        left: number;
    }): void;
    hide(): void;
    destroy(): void;
}
//# sourceMappingURL=loading-toast.d.ts.map