import { MilkdownPlugin } from '@milkdown/kit/ctx'; export { platformTableCompatNodes } from './tableCompatNodes'; export { normalizePlatformTableNode, stripLiteralBrFromTableNode, tableContainsPlatformRows, type PlatformTableNormalizeTypes, } from './normalizePlatformTable'; /** * Allow Platform `tr` rows inside `table` so y-prosemirror can hydrate post-publish * state from `markdownToYDoc`. Milkdown GFM only allows `table_header_row table_row+`; * `schema.node()` then throws and y-prosemirror **deletes** the table from the Y.Doc. */ export declare const PLATFORM_TABLE_CONTENT = "(tr | table_header_row | table_row)+"; /** * Widen GFM `table` content to accept Platform rows before Schema is built. * Same nodesCtx-overwrite pattern as platform image-block — avoid `extendSchema()` * (second `$node('table')` races under `Promise.all`). */ export declare const platformTableContentSchema: MilkdownPlugin; /** * After Y.js hydrates Platform-shaped tables, rewrite them to Milkdown GFM nodes * so table editing/rendering plugins work. */ export declare const platformTableNormalizer: import('@milkdown/utils').$Prose; export declare const platformTablePlugins: MilkdownPlugin[];