import { Dispatch, SetStateAction } from "react"; export declare const INSERT_CROSS_REFERENCE: import("lexical").LexicalCommand; export declare const UPDATE_REFERENCE_LABEL: import("lexical").LexicalCommand<{ refId: string; newLabel: string; }>; export type Reference = { id: string; label: string; elementId?: string; element?: HTMLElement | null; }; interface IReferenceToolbar { references: Reference[]; setReferences: Dispatch>; position: { x: number; y: number; } | null; onClose: () => void; IsexistingIdPresent: boolean; referencing_array: any; showPagination: boolean; } export declare const generateStableId: (text: string) => string; declare const ReferenceToolbar: ({ references, setReferences, position, onClose, IsexistingIdPresent, referencing_array, showPagination }: IReferenceToolbar) => import("react/jsx-runtime").JSX.Element | null; export default ReferenceToolbar;