import type { Line } from "../../../node/cst/line"; import * as std from "../../../law/std"; import type { WithErrorRule } from "../util"; /** * The renderer for {@link std.TOC}. 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/$toc.spec.ts) for examples. */ export declare const tocItemToLines: (el: std.TOCItem, indentTexts: string[]) => Line[]; export declare const tocToLines: (el: std.TOC, indentTexts: string[]) => Line[]; export declare const $tocPreambleLabel: WithErrorRule; export declare const $tocArticleGroup: WithErrorRule; export declare const $tocArticle: WithErrorRule; export declare const $tocSupplProvision: WithErrorRule; /** * The parser rule for {@link std.TOC}. 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/$toc.spec.ts) for examples. */ export declare const $toc: WithErrorRule; export default $toc;