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

interface UseHeadingCollapseProps {
    node: any;
    getPos: () => number;
    editor: Editor;
}
export declare const useHeadingCollapse: ({ node, getPos, editor, }: UseHeadingCollapseProps) => {
    isHeading: boolean;
    headingId: any;
    isThisHeadingCollapsed: any;
    shouldBeHidden: boolean;
    toggleCollapse: () => void;
    headingAlignment: any;
};
export declare const expandHeadingContent: (editor: Editor, nodePos: number) => void;
export {};
