import { Node as PMNode, NodeType } from '@milkdown/kit/prose/model'; export type PlatformTableNormalizeTypes = { tableHeaderRow: NodeType; tableRow: NodeType; tableHeader: NodeType; tableCell: NodeType; }; export declare function tableContainsPlatformRows(table: PMNode): boolean; /** * Strip literal `
` text left in cells after Platform parsed Milkdown empty-paragraph markers. * Returns null when nothing changes. */ export declare function stripLiteralBrFromTableNode(table: PMNode): PMNode | null; /** * Rewrites Platform `tr`/`th`/`td` subtrees to Milkdown `table_*` nodes. * Returns null when the table is already Milkdown-shaped. */ export declare function normalizePlatformTableNode(table: PMNode, types: PlatformTableNormalizeTypes): PMNode | null;