import type { Host } from "../host/host.js"; import { type PolicyDirs } from "./policy.js"; export type { PolicyDirs } from "./policy.js"; /** Resolve the directories through `host`, each spelled the way file * effects spell the paths in their payloads: the real path when the * directory exists, its lexical spelling when it does not, so matching * stays as it was rather than failing every rule. */ export declare function resolvePolicyDirs(host: Host): PolicyDirs; /** `substituteDot` over the real path of `cwd`. For tests, which inject * the cwd. A cwd that cannot be resolved keeps its lexical spelling. */ export declare function resolveDotDirPattern(pattern: string, cwd?: string): string; /** `substituteInstallDir` over the install root, or the pattern as written * when the root cannot be found. For tests, which inject the root. */ export declare function expandAgencyInstallDir(pattern: string, root?: () => string): string; /** `substituteAgentHome` over the real spelling of the agent home. For * tests, which inject the home. */ export declare function expandAgentHomeDir(pattern: string, home?: () => string): string; /** `substituteHome` over the real spelling of the user's home. For tests, * which inject the home. */ export declare function expandHomeDir(pattern: string, home?: () => string): string;