import { TableEmitContext } from "./table.cjs"; import { ContentTable } from "document-schema.js"; //#region src/emit/html-table.d.ts declare function tableNeedsHtmlFallback(table: ContentTable): boolean; /** * Throws MarkdownTableGridFaultError when `table` breaks the grid rule. Both table renderers run it before writing anything: a pipe row and an HTML row alike state one cell per anchor, so a table whose covered positions hold content or whose rows disagree about the grid has no faithful rendering in either. */ declare function assertTableObeysGridRule(table: ContentTable): void; declare function emitHtmlTable(table: ContentTable, context: TableEmitContext): string; //#endregion export { assertTableObeysGridRule, emitHtmlTable, tableNeedsHtmlFallback };