import type { Selection } from '@tiptap/pm/state'; import type { Editor } from '@tiptap/react'; export type UseFloatingToolbarParams = { getIsVisible: (selection: Selection) => boolean; onSelectionChange?: (editor: Editor) => void; }; export declare const useFloatingToolbar: ({ getIsVisible, onSelectionChange, }: UseFloatingToolbarParams) => { showFloatingToolbar: boolean; }; //# sourceMappingURL=UseFloatingToolbar.d.ts.map