import { ParagraphItemLine } from "../../../node/cst/line"; import type { WithErrorRule } from "../util"; import type { Env } from "../env"; import type { MatchResult } from "generic-parser/lib/core"; import type { ErrorMessage } from "../error"; export declare const $paragraphItemRanges: WithErrorRule<[{ value: string; errors: ErrorMessage[]; }, { value: string; errors: ErrorMessage[]; }][]>; export declare const $stdParagraphRange: WithErrorRule<[string, string][]>; export declare const $stdItemRange: WithErrorRule<[string, string][]>; export declare const $stdItem1Range: WithErrorRule<[string, string][]>; export declare const $stdItem2Range: WithErrorRule<[string, string][]>; export declare const $stdItem3Range: WithErrorRule<[string, string][]>; export declare const paragraphItemTitleRule: { readonly Paragraph: WithErrorRule<[string, string][]>; readonly Item: WithErrorRule<[string, string][]>; readonly Subitem1: WithErrorRule<[string, string][]>; readonly Subitem2: WithErrorRule<[string, string][]>; readonly Subitem3: WithErrorRule<[string, string][]>; }; export declare const paragraphItemTitleMatch: { [tag in keyof typeof paragraphItemTitleRule]: (target: string) => MatchResult<{ value: [string, string][]; errors: ErrorMessage[]; }, Env>; }; export declare const unknownParagraphItemTitleMatch: (target: string) => import("generic-parser/lib/core").MatchSuccess<{ value: [{ value: string; errors: ErrorMessage[]; }, { value: string; errors: ErrorMessage[]; }][]; errors: ErrorMessage[]; }, Env & import("generic-parser/lib/core").Empty> | { ok: boolean; offset: number; expected: string; prevFail: null; }; /** * The parser rule for {@link ParagraphItemLine} that represents a first line of a paragraph, item, and subitem. Please see the source code for the detailed syntax, and the [test code](https://github.com/yamachig/Lawtext/blob/main/core/src/parser/cst/rules/$paragraphItemLine.spec.ts) for examples. */ export declare const $paragraphItemLine: WithErrorRule; export default $paragraphItemLine;