import type { MatchFail, MatchContext, BasePos, BaseEnv } from "generic-parser/lib/core"; import type { SentenceChildEL } from "../../node/cst/inline"; export interface Env extends BaseEnv { state: { maxOffsetMatchFail: MatchFail | null; maxOffsetMatchContext: MatchContext | null; }; } export interface InitialEnvOptions { target: string; options?: Record; baseOffset?: number; } export declare const initialEnv: (initialEnvOptions: InitialEnvOptions) => Env;