import { type CommandExecutionResult, type OutputMode, type PolicyMode } from "@rig/contracts"; import { formatCommand } from "@rig/std-shared/cli-args"; import type { RunnerContext } from "@rig/core/runtime-runner-context"; export type { RunnerContext } from "@rig/core/runtime-runner-context"; export { loadPolicy } from "./guard"; export declare function withProjectRoot(projectRoot: string): void; export { formatCommand }; export declare function initializeRuntime(options: { projectRoot: string; dryRun: boolean; outputMode: OutputMode; runId?: string; policyMode?: PolicyMode; }): Promise; export declare function runCommand(context: RunnerContext, parts: string[]): Promise;