import { type ParseResult } from "./types.js"; /** `states.working.states.green.on.X[1]` → `working.green`; a path with no leading `states.` pairs → `""` (root). */ export declare function statePathOfConfigPath(configPath: string): string; /** * Runs `createMachine` over `parsed.config` (with a placeholder `context: {}` * and no implementations, on a copy — `createMachine` freezes what it * accepts). The library's config error becomes a `StatechartParseError`: * `message` is the library's, `path` is the state the error belongs to * (`states.working.states.green.on.X[1]` → `working.green`; the root has * none), `line` is that state's `StateInfo.line` (the header line for the * root). Any other error propagates unchanged. */ export declare function validateMachineConfig(parsed: ParseResult): void;