import type { Line } from "../../../node/cst/line"; import { LineType } from "../../../node/cst/line"; import type { WithErrorRule } from "../util"; import * as std from "../../../law/std"; import type { VirtualLine, VirtualOnlyLineType } from "../virtualLine"; /** * The renderer for {@link std.Law}. 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/$law.spec.ts) for examples. */ export declare const lawToLines: (law: std.Law, indentTexts: string[]) => Line[]; export declare const $lawTitleLines: WithErrorRule<{ lawNameLine: VirtualLine & { type: LineType.OTH | VirtualOnlyLineType.CAP; }; lawNumLine: VirtualLine & { type: LineType.OTH | VirtualOnlyLineType.CAP; } | null; }>; export declare const enactStatementControl = ":enact-statement:"; export declare const enactStatementToLines: (enactStatement: std.EnactStatement, indentTexts: string[]) => Line[]; export declare const $enactStatement: WithErrorRule; /** * The parser rule for {@link std.Law}. 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/$law.spec.ts) for examples. */ export declare const $law: WithErrorRule; export default $law;