/** * Table-row writes: `replace`/`prepend`/`append` @ `content` on a `block` * target carrying structured `value` rather than literal `content` text (see * {@link isBlockTableRowInstruction}). Unlike a literal-text block write, which * splices `block.content` verbatim, a row write parses the table's header and * separator lines out of that span and edits only the body rows beneath them. */ import { DocumentModel, BlockNode } from "../model.js"; import { BlockTableRowInstruction, PatchResult, EngineError } from "../instructions.js"; /** The instruction's `value` targets a block whose `kind` isn't `"table"`. */ export declare class NotATableError extends EngineError { } /** A row's cell count doesn't match the table's column count. */ export declare class TableColumnCountError extends EngineError { } /** A cell's text cannot be represented inside a table row. */ export declare class InvalidCellContentError extends EngineError { } export declare const patchTableRows: (document: string, model: DocumentModel, instruction: BlockTableRowInstruction, block: BlockNode) => PatchResult; //# sourceMappingURL=table.d.ts.map