import type { Mark, Node } from "@tiptap/pm/model"; import type { TextMenuConfig } from "./config"; type GlobalTextMenuConfig = Record; export declare const textMenuConfigAtom: import("jotai").PrimitiveAtom & { init: GlobalTextMenuConfig; }; export declare const selectedNodeAtom: import("jotai").PrimitiveAtom & { init: Node | null; }; export declare const setSelectedNodeAtom: import("jotai").WritableAtom & { init: null; }; export declare const textInputRefAtom: import("jotai").PrimitiveAtom<{ ref: HTMLInputElement | HTMLTextAreaElement | null; caretPosition: number | null; }> & { init: { ref: HTMLInputElement | HTMLTextAreaElement | null; caretPosition: number | null; }; }; export declare const lastActiveInputRefAtom: import("jotai").PrimitiveAtom<{ ref: HTMLInputElement | HTMLTextAreaElement | null; caretPosition: number | null; }> & { init: { ref: HTMLInputElement | HTMLTextAreaElement | null; caretPosition: number | null; }; }; export declare const textInputStateAtom: import("jotai").PrimitiveAtom<{ isFocused: boolean; hasVariables: boolean; showVariablePopup: boolean; }> & { init: { isFocused: boolean; hasVariables: boolean; showVariablePopup: boolean; }; }; export declare const getNodeConfigAtom: import("jotai").Atom<(nodeName: string, hasTextSelection?: boolean) => TextMenuConfig>; export declare const setNodeConfigAtom: import("jotai").WritableAtom; }], void> & { init: null; }; export declare const resetNodeConfigAtom: import("jotai").WritableAtom & { init: null; }; export declare const setTextInputRefAtom: import("jotai").WritableAtom & { init: null; }; export declare const setShowVariablePopupAtom: import("jotai").WritableAtom & { init: null; }; interface PendingLinkState { mark?: Mark; link?: { from: number; to: number; }; } export declare const pendingLinkAtom: import("jotai").PrimitiveAtom & { init: PendingLinkState | null; }; export declare const setPendingLinkAtom: import("jotai").WritableAtom & { init: null; }; export {};