import type { Editor } from '@tiptap/react'; export interface FloatingToolbarPosition { top: number; left: number; } export interface UseFloatingToolbarReturn { visible: boolean; position: FloatingToolbarPosition; } /** * Hook for managing floating toolbar visibility and position * * @param editor - TipTap editor instance * @param editorElementRef - Ref to the editor container element * @param enabled - Whether floating toolbar is enabled * @returns Object containing visibility state and position */ export declare function useFloatingToolbar(editor: Editor | null, editorElementRef: React.RefObject, enabled: boolean, toolbarRef?: React.RefObject): UseFloatingToolbarReturn; //# sourceMappingURL=useFloatingToolbar.d.ts.map