import { EditorThemeClasses, Klass, LexicalCommand, LexicalEditor, LexicalNode } from "lexical"; import * as React from "react"; export type InsertTableCommandPayload = Readonly<{ columns: string; rows: string; includeHeaders?: boolean; }>; export type CellContextShape = { cellEditorConfig: null | CellEditorConfig; cellEditorPlugins: null | JSX.Element | Array; set: (cellEditorConfig: null | CellEditorConfig, cellEditorPlugins: null | JSX.Element | Array) => void; }; export type CellEditorConfig = Readonly<{ namespace: string; nodes?: ReadonlyArray>; onError: (error: Error, editor: LexicalEditor) => void; readOnly?: boolean; theme?: EditorThemeClasses; }>; export declare const INSERT_NEW_TABLE_COMMAND: LexicalCommand; export declare const CellContext: React.Context; export declare function TableContext({ children }: { children: JSX.Element; }): import("react/jsx-runtime").JSX.Element; export declare const generateStableCaptionId: (text: any, tableIndex: any) => string; export declare function splitEachRowIntoStyledTables(htmlString: any): string; export declare function generateLargeTableHTML({ totalRows, totalColumns, headers, headerColor, rowColor }?: { totalRows?: number | undefined; totalColumns?: number | undefined; headers?: boolean | undefined; headerColor?: string | undefined; rowColor?: string | undefined; }): string; export declare function InsertTableDialog({ activeEditor, onClose, enableCaptions, styleConfig, showPagination }: { activeEditor: LexicalEditor; onClose: () => void; enableCaptions?: boolean; styleConfig?: any; showPagination: boolean | undefined; }): JSX.Element;