/** * Injectable platform context. Every path helper takes this so the same code is * deterministic in tests regardless of the host OS: we pick `path.win32` or * `path.posix` based on the target `platform`, never the ambient separator. */ export interface PathCtx { platform?: NodeJS.Platform; env?: NodeJS.ProcessEnv; } /** The user's home directory: USERPROFILE on Windows, HOME elsewhere. */ export declare function homeDir(c?: PathCtx): string; /** Expand a leading `~` (bare or followed by a separator) to the home directory. */ export declare function expandTilde(input: string, c?: PathCtx): string; /** * The tool's config home. Defaults to `~/.claude-auto-switch`; overridable with * the `CLAUDE_AUTO_SWITCH_HOME` environment variable. */ export declare function configHome(c?: PathCtx): string; /** * Where per-account profile folders live. Defaults to `/profiles`; * a configured `profilesDir` (tilde allowed) overrides it. */ export declare function profilesDir(config: { profilesDir?: string; }, c?: PathCtx): string; /** * The default location where the real Claude CLI keeps credentials for the * DEFAULT account (spec fact 5). macOS returns the sentinel `keychain` because * credentials live in the Keychain there, not a file. */ export declare function defaultCredFile(c?: PathCtx): string;