import type { AgentDefinition } from "../agents/agents-registry.js"; /** * Expand a leading `~` (or `~/`) in `p` to the current user's home directory * using platform-native separators. * * Accepts both `/` and `\` as input separators so POSIX-shaped registry * entries (e.g. `~/.claude/skills`) survive the trip through a win32 runtime. * Returns absolute + tilde-free output for every expandable input. */ export declare function expandHome(p: string): string; /** * Resolve an agent's globalSkillsDir to a fully-qualified absolute path for * the current platform. * * Resolution order on win32: * 1. `agent.win32PathOverride` (explicit escape hatch) * 2. `~/.config/X/...` deterministic fallback to `%APPDATA%/X/...` * 3. Default: `expandHome(agent.globalSkillsDir)` * * On darwin + linux: always `expandHome(agent.globalSkillsDir)`. The * `win32PathOverride` is intentionally ignored on non-win32 so POSIX * hosts keep behaving exactly as they did before. */ export declare function resolveGlobalSkillsDir(agent: AgentDefinition): string;