import { CustomElementPlugin } from '../../../baseEditor';
import { Editor as SlateEditor, Element as SlateElement, Node } from 'slate';
export declare const tableElementType: "table";
export interface TableElement extends SlateElement {
    type: typeof tableElementType;
    children: SlateEditor['children'];
}
export declare const isTableElement: (element: Node) => element is TableElement;
export declare const createEmptyTableElement: (rowCount?: number, columnCount?: number) => {
    type: "table";
    children: {
        type: "tableRow";
        children: {
            type: "tableCell";
            children: {
                text: string;
            }[];
        }[];
    }[];
};
export declare const getTableElementRowCount: (element: TableElement) => number;
export declare const getTableElementColumnCount: (element: TableElement) => number;
export declare const tableElementPlugin: CustomElementPlugin<TableElement>;
//# sourceMappingURL=TableElement.d.ts.map