import type { ShortcodeConfig } from '@staticcms/core/interface';
import type { BlockQuoteNode, CodeBlockNode, DeserializedNode, HeadingNode, ImageNode, ItalicNode, LinkNode, ListItemNode, ListNode, MdastNode, ParagraphNode, TextNode, ThematicBreakNode } from './ast-types';
export interface Options {
    isInTable?: boolean;
    isInTableHeaderRow?: boolean;
    tableAlign?: (string | null)[];
    useMdx: boolean;
    shortcodeConfigs: Record<string, ShortcodeConfig>;
    index: number;
}
export default function deserializeMarkdown(node: MdastNode, options: Options): MdastNode[] | TextNode | CodeBlockNode | HeadingNode | ListNode | ListItemNode | import("@staticcms/markdown").ListItemContentNode | ParagraphNode | LinkNode | ImageNode | BlockQuoteNode | import("@staticcms/markdown").InlineCodeMarkNode | ThematicBreakNode | ItalicNode | import("@staticcms/markdown").SuperscriptNode | import("@staticcms/markdown").SubscriptNode | import("@staticcms/markdown").UnderlineNode | import("@staticcms/markdown").BoldNode | import("@staticcms/markdown").StrikeThoughNode | import("@staticcms/markdown").InlineCodeNode | DeserializedNode[] | {
    type: string;
    children: {
        text: string;
    }[];
} | {
    meta?: null | undefined;
    title?: string | null | undefined;
    value?: string | undefined;
    url?: string | undefined;
    depth?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
    align?: (string | null)[] | undefined;
    alt?: string | undefined;
    lang?: string | null | undefined;
    checked?: any;
    start?: number | null | undefined;
    position?: any;
    indent?: any;
    ordered?: boolean | undefined;
    spread?: any;
    text: string;
    bold: boolean;
    type?: undefined;
    children?: undefined;
} | {
    meta?: null | undefined;
    title?: string | null | undefined;
    value?: string | undefined;
    url?: string | undefined;
    depth?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
    align?: (string | null)[] | undefined;
    alt?: string | undefined;
    lang?: string | null | undefined;
    checked?: any;
    start?: number | null | undefined;
    position?: any;
    indent?: any;
    ordered?: boolean | undefined;
    spread?: any;
    text: string;
    strikethrough: boolean;
    type?: undefined;
    children?: undefined;
} | {
    meta?: null | undefined;
    title?: string | null | undefined;
    value?: string | undefined;
    url?: string | undefined;
    depth?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
    align?: (string | null)[] | undefined;
    alt?: string | undefined;
    lang?: string | null | undefined;
    checked?: any;
    start?: number | null | undefined;
    position?: any;
    indent?: any;
    ordered?: boolean | undefined;
    spread?: any;
    code: boolean;
    text: string | undefined;
    type?: undefined;
    children?: undefined;
} | {
    type: "table";
    children: DeserializedNode[];
} | {
    type: "tr";
    children: DeserializedNode[];
} | {
    type: "td" | "th";
    children: {
        type: "p";
        children: DeserializedNode[];
    }[];
};
