export type StoragePlatform = "windows" | "other"; export type StorageEnvironmentLookup = (name: string) => string | undefined; export interface StoragePathContext { lookup?: StorageEnvironmentLookup; platform?: StoragePlatform; fallbackHome?: string; currentDirectory?: string; } /** * Resolve the CortexKit data-home ladder before appending a module directory. * * Last re-derived 2026-09-06 against subconscious d5e09914b0791a66f2a5a00a9bb3422860ade95e: * compare ordered variables, platform gates, and empty-value guards with * `subc-core/src/daemon_config.rs::default_data_home`, resolve named constants, * then preserve the documented Windows cache-class divergence. */ export declare function resolveDataHome(context?: StoragePathContext): string; /** * Expand the supported storage-root spellings and anchor them to this process's * cwd. Every caller receives one absolute spelling, so a bridge and a plugin * cannot select different roots merely because their cwd differs. */ export declare function resolveStoragePath(raw: string, context?: StoragePathContext): string; /** Resolve the shared CortexKit storage root used by every plugin host. */ export declare function resolveCortexKitStorageRoot(context?: StoragePathContext): string; /** * Resolve a process-state storage root. AFT_STORAGE_DIR is checked here rather * than at injection time so it wins over a stale or plugin-injected wire value. */ export declare function resolveAftStorageRoot(configuredRoot?: string, context?: StoragePathContext): string; export declare function resolveAftLogPath(filename: string, configuredRoot?: string, context?: StoragePathContext): string; //# sourceMappingURL=storage-paths.d.ts.map