import type { CommandModule } from 'yargs'; import { type BootstrapDeps } from '../../merge-queue/bootstrap.js'; export interface MqArgs { action: string; pr?: number; foreground?: boolean; finish?: boolean; once?: boolean; root?: string; format?: string; auto?: boolean; verbose?: boolean; checkTree?: string; recordTree?: string; seconds?: number; instrumented?: boolean; } export interface MqOverrides { /** Test seam for `mq bootstrap` — any subset of BootstrapDeps. */ bootstrapDeps?: Partial; } /** Preflight helper (D9): does the configured gate command RESOLVE? * `make -n` for make targets (proves resolution, not health — doctor's * GATE_PROBE covers health); `command -v` on the head word otherwise. * Leading `VAR=value` env assignments (e.g. `NODE_ENV=test vitest`) are * skipped so the real executable is resolved, not the assignment. */ export declare function gateTargetResolves(projectRoot: string, command: string): boolean; export declare function mqHandler(argv: MqArgs, overrides?: MqOverrides): Promise; declare const mqCommand: CommandModule, MqArgs>; export default mqCommand; //# sourceMappingURL=mq.d.ts.map