import type { Line } from "../../../node/cst/line"; import type { WithErrorRule } from "../util"; import * as std from "../../../law/std"; /** * The renderer for {@link std.Table}. Please see the source code for the detailed syntax, and the [test code](https://github.com/yamachig/Lawtext/blob/main/core/src/parser/std/rules/$tableStruct.spec.ts) for examples. */ export declare const tableToLines: (table: std.Table, indentTexts: string[]) => Line[]; interface tableStructToLinesOptions { withControl?: boolean; } /** * The renderer for {@link std.TableStruct}. Please see the source code for the detailed syntax, and the [test code](https://github.com/yamachig/Lawtext/blob/main/core/src/parser/std/rules/$tableStruct.spec.ts) for examples. */ export declare const tableStructToLines: (tableStruct: std.TableStruct, indentTexts: string[], options?: tableStructToLinesOptions) => Line[]; /** * The parser rule for {@link std.TableStruct}. Please see the source code for the detailed syntax, and the [test code](https://github.com/yamachig/Lawtext/blob/main/core/src/parser/std/rules/$tableStruct.spec.ts) for examples. */ export declare const $tableStruct: WithErrorRule; export default $tableStruct;