import type { Command } from "commander"; import { type CommandSpec } from "../internals/plan.js"; import { type Runner } from "../internals/proc.js"; export declare const DEFAULT_POLICY_WORKBENCH_PATH = "aih-policy-workbench.html"; export declare const policyGenerateCommand: CommandSpec; export interface PolicyGenerateRunDeps { cwd?: string; env?: NodeJS.ProcessEnv; run?: Runner; write?: (text: string) => void; } /** * Standalone execution route for `aih policy generate`. * * The workbench is an operator-authored portable artifact, not a repository * capability. Deliberately do not call the generic command runner: that path * resolves a repository root, reads its marker/settings/policy, and may append * its run ledger. Here cwd is used only as containment for a relative --out; * --root and AIH_ROOT are parsed compatibility flags with no effect. */ export declare function runPolicyGenerate(command: Command, deps?: PolicyGenerateRunDeps): Promise;