import { Editor } from 'slate';
export declare const ELEMENT_TAGS: {
    BLOCKQUOTE: () => {
        type: string;
    };
    H1: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
        level: number;
    };
    H2: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
        level: number;
    };
    H3: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
        level: number;
    };
    H4: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
        level: number;
    };
    H5: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
        level: number;
    };
    TABLE: () => {
        type: string;
    };
    IMG: (el: HTMLImageElement) => import("../../..").CardNode | {
        text: string;
    } | {
        type: string;
        children: {
            text: string;
        }[];
    };
    TR: () => {
        type: string;
    };
    TH: () => {
        type: string;
        title: boolean;
    };
    TD: () => {
        type: string;
    };
    LI: () => {
        type: string;
    };
    OL: () => {
        type: string;
        order: boolean;
    };
    P: (el: HTMLElement) => {
        align?: string | undefined;
        type: string;
    };
    PRE: () => {
        type: string;
    };
    UL: () => {
        type: string;
    };
};
export declare const TEXT_TAGS: {
    A: (el: HTMLElement) => {
        url: string | null;
    };
    CODE: () => {
        code: boolean;
    };
    KBD: () => {
        code: boolean;
    };
    SPAN: (el: HTMLElement) => {
        text: string | null;
    };
    DEL: () => {
        strikethrough: boolean;
    };
    EM: () => {
        italic: boolean;
    };
    I: () => {
        italic: boolean;
    };
    S: () => {
        strikethrough: boolean;
    };
    STRONG: () => {
        bold: boolean;
    };
    B: () => {
        bold: boolean;
    };
};
export declare const deserialize: (el: ChildNode, parentTag?: string) => string | any[] | null | Record<string, any>;
/**
 * 转化 html 到 slate - 性能优化版本
 * @param editor
 * @param html
 * @returns
 */
export declare const htmlToFragmentList: (html: string, rtl: string) => any[];
export declare const insertParsedHtmlNodes: (editor: Editor, html: string, editorProps: any, rtl: string) => Promise<boolean>;
