import { DecoratorNode, NodeKey, SerializedLexicalNode, Spread } from 'lexical';
import { default as React } from 'react';
import { RowData } from '../types/rich-text-components';
export type { RowData } from '../types/rich-text-components';
export declare class DataTableNode extends DecoratorNode<React.JSX.Element> {
    __data: RowData[];
    static getType(): string;
    static clone(node: DataTableNode): DataTableNode;
    constructor(data: RowData[], key?: NodeKey);
    getData(): RowData[];
    createDOM(): HTMLElement;
    updateDOM(): boolean;
    decorate(): import("react/jsx-runtime").JSX.Element;
    exportJSON(): SerializedDataTableNode;
    static importJSON(json: SerializedDataTableNode): DataTableNode;
    getTextContent(): string;
}
export type SerializedDataTableNode = Spread<{
    data: RowData[];
}, SerializedLexicalNode>;
export declare function $createDataTableNode(data: RowData[]): DataTableNode;
export declare function $isDataTableNode(node: unknown): node is DataTableNode;
