import type { ConfigManager } from '../config/manager.js'; import type { RuntimeEventBus } from '../runtime/events/index.js'; import type { QualityGateResult } from './wrfc-types.js'; export declare function runWrfcGateChecks(options: { readonly configManager: Pick; readonly projectRoot: string; readonly runtimeBus: RuntimeEventBus; readonly sessionId: string; readonly chainId: string; /** * Working directory to RUN the gate commands (and detect skip conditions) in * (BIG-3 item 5). Defaults to `projectRoot`. In worktree-isolation mode the * orchestration phase-runner passes the item's worktree path here, so gates * execute against the item's isolated tree rather than the shared root, * threaded exactly like the phantom-work guard's worktree path. Omitted ⇒ * projectRoot, i.e. shared-mode behavior unchanged. */ readonly cwd?: string | undefined; readonly onResult?: ((results: readonly QualityGateResult[], result: QualityGateResult) => void) | undefined; }): Promise; //# sourceMappingURL=wrfc-gate-runtime.d.ts.map