import type { Heading } from '../spec';
import type { MdFormatSerialize, TexFormatSerialize } from '../serialize/types';
import type { MyNodeSpec, NumberedNode } from './types';
export declare type Attrs = NumberedNode & {
    level: number;
};
declare const heading: MyNodeSpec<Attrs, Heading>;
export declare const toMarkdown: MdFormatSerialize;
export declare const toTex: TexFormatSerialize;
export default heading;
