import { z } from 'zod'; import type { AstGateResult } from './types.js'; /** * The locked-version context the gate compares against. The schema is the * single source for both the type and the CLI's `--ast-context` validation — * a malformed context is refused rather than silently read as empty. */ export declare const AstGateContextSchema: z.ZodObject<{ deps: z.ZodRecord>; docSummaries: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export type AstGateContext = z.infer; export interface RunAstGateInput { readonly project: string; readonly changedFiles: ReadonlyArray; readonly context: AstGateContext; } export declare function runAstGate(input: RunAstGateInput): Promise;