import { Formatting } from './../../rich-text-editor.types';
import { BlockQuoteNode, CodeBlockNode, HeadingNode, ImageNode, InputNodeTypes, ItalicNode, LinkNode, ListItemNode, ListNode, MdastNode, OptionType, ParagraphNode, ThematicBreakNode } from './../ast-types';
export default function transform<T extends InputNodeTypes>(node: MdastNode, opts?: OptionType<T>): CodeBlockNode<T> | HeadingNode<T> | ListNode<T> | ListItemNode<T> | ParagraphNode<T> | LinkNode<T> | ImageNode<T> | BlockQuoteNode<T> | ThematicBreakNode<T> | ItalicNode<T> | {
    type: Formatting;
    children: {
        text: string;
    }[];
} | {
    value?: string | undefined;
    url?: string | undefined;
    alt?: string | undefined;
    position?: any;
    ordered?: boolean | undefined;
    checked?: any;
    lang?: string | undefined;
    depth?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
    spread?: any;
    indent?: any;
    text: string | undefined;
    type?: undefined;
    children?: undefined;
};
