import type { EphemeralSubagentExecutor } from "@henryqw/pi-subagent"; import type { DirectProcessRunner, ExactReviewExecutor } from "./git-runtime.ts"; import type { LaunchRuntimeOptions } from "./launch-runtime.ts"; export interface CanonicalGitRootResolverOptions { runProcess?: DirectProcessRunner; now?: () => number; } /** Resolve one canonical Git top-level with the request's signal and remaining deadline. */ export declare function createCanonicalGitRootResolver(options?: CanonicalGitRootResolverOptions): LaunchRuntimeOptions["resolveRoot"]; /** Adapt an already verified Judgment launch without adding argv, environment, or resources. */ export declare function createExactJudgmentExecutor(executor: EphemeralSubagentExecutor): ExactReviewExecutor;