export interface GateResult { result: 'green' | 'red' | 'timeout'; seconds: number; logPath: string; /** Test ids from /.mq-failed-tests.txt when the gate wrote it (contract); [] otherwise. */ failedTests: string[]; } export declare function runGate(opts: { cwd: string; command: string; timeoutMs: number; logPath: string; env?: Record; /** When set, the gate PGID is written here while running and removed when it * settles, so a crashed daemon's orphaned gate can be reaped on next startup. */ pidFile?: string; }): Promise; //# sourceMappingURL=gate.d.ts.map