/** What a child `agency compile` produced. `exitCode` is null when the * child was killed rather than exiting on its own. `output` is stderr * and stdout concatenated: the compiler's failure paths do not agree on * a stream (parse and typecheck errors go to stderr, an uncaught codegen * throw is reported by node itself), and a fixture author should not * have to know which one their diagnostic takes. */ export type CompileAttempt = { exitCode: number | null; output: string; killedBy?: "timeout" | "abort"; }; export type CompileVerdict = { ok: true; } | { ok: false; reason: string; }; export declare function judgeCompileAttempt(expected: string, attempt: CompileAttempt): CompileVerdict; /** * Name the first field that cannot be combined with * `expectedCompileError`, or null when there is none. Nothing runs in * this mode, so mocks and cases are not merely unused — they mean the * author expected something this mode does not do, and a silent ignore * would hide that. */ export declare function findIncompatibleField(tests: { tests?: unknown[]; fetchMocks?: unknown[]; llmMocks?: unknown; }): string | null;