import type { Policy } from "../runtime/policy.js"; export type RunPolicyFlags = { policy?: string; approve?: string; reject?: string; interactive?: boolean; cwd: string; }; /** The resolved run policy. `policyJson` is threaded into the subprocess * environment (AGENCY_RUN_POLICY); `policy` is the same object, exposed so * in-process callers (e.g. `remote call`'s decider) use it without re-parsing * the JSON or rebuilding the policy. */ export type ResolvedRunPolicy = { policy: Policy; policyJson: string; interactive: boolean; }; export declare function resolveRunPolicy(flags: RunPolicyFlags): ResolvedRunPolicy | null;