export type MdRange = {
    start: number;
    end: number;
};
type MdNodeWithRange = {
    range?: MdRange;
};
export type MdNode = MdNodeWithRange & ({
    type: "root";
    children: MdNode[];
} | {
    type: "heading";
    depth: 1 | 2 | 3 | 4 | 5 | 6;
    children: MdNode[];
} | {
    type: "paragraph";
    children: MdNode[];
} | {
    type: "blockquote";
    children: MdNode[];
} | {
    type: "code";
    lang?: string;
    meta?: string;
    value: string;
} | {
    type: "list";
    ordered: boolean;
    start?: number;
    children: MdNode[];
} | {
    type: "listItem";
    checked?: boolean;
    children: MdNode[];
} | {
    type: "thematicBreak";
} | {
    type: "table";
    align: Array<"left" | "center" | "right" | null>;
    children: MdNode[];
} | {
    type: "tableRow";
    children: MdNode[];
} | {
    type: "tableCell";
    children: MdNode[];
} | {
    type: "html";
    value: string;
} | {
    type: "text";
    value: string;
} | {
    type: "emphasis";
    children: MdNode[];
} | {
    type: "strong";
    children: MdNode[];
} | {
    type: "strikethrough";
    children: MdNode[];
} | {
    type: "inlineCode";
    value: string;
} | {
    type: "link";
    url: string;
    title?: string;
    children: MdNode[];
} | {
    type: "image";
    url: string;
    alt: string;
    title?: string;
} | {
    type: "break";
} | {
    type: "frontmatter";
    data: Record<string, unknown>;
} | {
    type: "alert";
    kind: "NOTE" | "TIP" | "IMPORTANT" | "WARNING" | "CAUTION";
    children: MdNode[];
} | {
    type: "footnoteDefinition";
    label: string;
    children: MdNode[];
} | {
    type: "footnoteReference";
    label: string;
});
export {};
