//#region src/runtime/paths.d.ts /** * Shared env-based path resolution for runtime adapters. * * Node, Bun, and Deno all need the same user home/config directory behavior. * These helpers keep the fallback chain identical across runtimes while * letting each adapter supply its own platform detection. * * @module @kjanat/dreamcli/runtime/paths */ /** * Resolve the user's home directory from environment variables. * * @param env - Environment variable map. * @param isWindows - Whether the platform is Windows. * @returns Absolute path to the home directory. * @internal */ declare function resolveHomeDirectory(env: Readonly>, isWindows: boolean): string; /** * Resolve the user's config directory (`XDG_CONFIG_HOME` / `APPDATA`). * * @param env - Environment variable map. * @param isWindows - Whether the platform is Windows. * @param homedir - Pre-resolved home directory (from {@link resolveHomeDirectory}). * @returns Absolute path to the config directory. * @internal */ declare function resolveConfigDirectory(env: Readonly>, isWindows: boolean, homedir: string): string; //#endregion export { resolveConfigDirectory, resolveHomeDirectory };