import type { CustomElementPlugin } from '../../../baseEditor';
import { Editor, Editor as SlateEditor, Element, Node as SlateNode, Path as SlatePath } from 'slate';
import { AlignDirection } from '../../attributes';
export declare const headingElementType: "heading";
export interface HeadingElement extends Element {
    type: typeof headingElementType;
    level: 1 | 2 | 3 | 4 | 5 | 6;
    isNumbered?: boolean;
    align?: AlignDirection;
    children: SlateEditor['children'];
}
export declare const isHeadingElement: (element: SlateNode, suchThat?: Partial<HeadingElement> | undefined) => element is HeadingElement;
export declare const ejectHeadingElement: (editor: Editor, elementPath: SlatePath) => void;
export declare const headingElementPlugin: CustomElementPlugin<HeadingElement>;
//# sourceMappingURL=HeadingElement.d.ts.map