import { Snapshot } from '../compact'; import { NodeRegistry } from '../registry'; import { RuleContext } from '../schema'; import { Issue } from './validate/shared'; export type { Issue } from './validate/shared'; /** * Checks an AI proposal against the page snapshot in four layers (spec ยง5.1): shape, references, schemas, then * structure and rules on the applied tree. A shape issue stops everything; layers 2 and 3 report together; layer 4 * runs only on a proposal that passed them, and reports only the issues the proposal introduces (R18). Issues are * sorted by opIndex then path. Never throws. */ export declare function validateProposal(snapshot: Snapshot, proposal: unknown, context?: RuleContext, options?: { registry?: NodeRegistry; }): { ok: boolean; issues: Issue[]; };