import { Editor } from '@tiptap/react';

interface UseHeadingCollapseProps {
    node: any;
    getPos: () => number;
    editor: Editor;
    collapsedHeadings: Set<string>;
    setCollapsedHeadings: (updater: (prev: Set<string>) => Set<string>) => void;
}
export declare const useHeadingCollapse: ({ node, getPos, editor, collapsedHeadings, setCollapsedHeadings, }: UseHeadingCollapseProps) => {
    isHeading: boolean;
    headingId: any;
    isThisHeadingCollapsed: boolean;
    shouldBeHidden: boolean;
    toggleCollapse: () => void;
    headingAlignment: any;
};
export declare const expandHeadingContent: (editor: Editor, nodePos: number, setCollapsedHeadings?: (updater: (prev: Set<string>) => Set<string>) => void) => void;
export {};
