import { Editor } from '@tiptap/react'; /** * Hook that reactively tracks whether the editor is effectively empty. * This considers documents with only whitespace as empty. * * Unlike a static check, this hook re-renders when the content changes, * making it suitable for conditional rendering based on empty state. * * @param providedEditor - Optional editor instance to use instead of the context editor * @returns boolean indicating if the editor is effectively empty */ declare function useIsEditorEmpty(providedEditor?: Editor | null): boolean; export { useIsEditorEmpty };