import { MarkdownParagraph, ParagraphInit } from "./paragraph.js"; import { ContentBlock, ContentTable, ContentTableCell, ContentTableRow } from "document-schema.js"; //#region src/edit/markdown/table.d.ts interface TableInit { readonly rows: number; readonly columns: number; } declare class MarkdownTableCell { private readonly node; constructor(node: ContentTableCell); paragraphs(): MarkdownParagraph[]; appendParagraph(init?: ParagraphInit): MarkdownParagraph; get text(): string; set text(value: string); } declare class MarkdownTableRow { private readonly node; constructor(node: ContentTableRow); cells(): MarkdownTableCell[]; } declare class MarkdownTable { private readonly container; private readonly node; private removed; constructor(container: ContentBlock[], node: ContentTable); private live; rows(): MarkdownTableRow[]; appendRow(): MarkdownTableRow; remove(): void; } declare function buildTable(init: TableInit): ContentTable; //#endregion export { MarkdownTable, MarkdownTableCell, MarkdownTableRow, TableInit, buildTable };