import { type FeedbackCoverage, type WorkOutcome } from '../agent-blackboard/index.mts'; import type { BlackboardClientDependencies } from '../agent-blackboard/client.mts'; import { type Args } from './args.mts'; /** The longest a facts subprocess may run before it is killed. */ export declare const FACTS_TIMEOUT_MS = 120000; type ComposeBase = { sessionId: string; repositories: string[]; workOutcome: WorkOutcome; feedbackCoverage: FeedbackCoverage; worktree: string; env: NodeJS.ProcessEnv; dependencies: BlackboardClientDependencies; }; /** * Facts commands run in the worktree and never see the blackboard credentials, NODE_OPTIONS, or * GIT_* overrides that could point git away from the validated worktree. */ export declare function worktreeExecutor(worktree: string, env: NodeJS.ProcessEnv, timeoutMs?: number): (command: string, args: string[]) => Promise<{ ok: boolean; stdout: string; stderr: string; exitCode: number | null; }>; /** The caller's `compose.knownSensitiveValues` plus the server's blackboard token, when set. */ export declare function sensitiveValues(compose: Args | undefined, env: NodeJS.ProcessEnv): string[]; /** Builds the retrospective markdown with `composeRetrospective`, rejecting unknown input keys. */ export declare function composeFromArgs(compose: Args, base: ComposeBase): Promise; export {};