import type { OrgDef, OrgRole } from './types.js'; export declare const PROMPT_VAR_NAMES: readonly ['org_root', 'home']; export type PromptVarName = (typeof PROMPT_VAR_NAMES)[number]; export type PromptVars = Record; export declare function promptVarsFor(orgRoot: string, home?: string): PromptVars; export declare function expandPromptVars(text: string, vars: PromptVars): string; /** The role with its responsibilities expanded; the same object if none changed. */ export declare function expandRolePromptVars(role: OrgRole, vars: PromptVars): OrgRole; /** The role with {{org_root}} / {{home}} expanded in its policy path lists * (policy.fileRead/fileWrite, policy.sandbox.allowWrite/denyWrite); the same * object if none changed. Unknown placeholders stay verbatim, as above. */ export declare function expandRolePolicyPathVars(role: OrgRole, vars: PromptVars): OrgRole; /** The org with every role's policy path lists expanded; the same object if * no role changed. */ export declare function expandOrgPolicyPathVars>(def: D, vars: PromptVars): D; /** `org validate` errors: one per unknown placeholder per role and field. */ export declare function unknownPromptVarErrors(def: Pick): string[]; //# sourceMappingURL=prompt-vars.d.ts.map