/** Bumped when the on-disk layout changes shape in a way the audit must repair. */ export declare const SKYKOI_HOME_LAYOUT_VERSION = 1; export declare const POSIX_LAUNCHER_NAME = "skykoi-launch"; export declare const WINDOWS_LAUNCHER_NAME = "skykoi-launch.cmd"; export declare function resolveLauncherFileName(platform?: NodeJS.Platform): string; /** * The per-platform install home, honouring `SKYKOI_HOME` and the profile * suffix so parallel profiles never share a launcher or a pointer. */ export declare function resolveSkykoiHome(env?: Record, platform?: NodeJS.Platform): string; export type SkykoiHomeLayout = { /** Root of the install-owned home. */ home: string; /** Directory holding the launcher shim. */ launcherDir: string; /** The shim a service definition points at — the only baked path. */ launcherPath: string; /** Names the install the shim should launch. */ pointerPath: string; /** The install the shim falls back to when the current one will not start. */ previousPointerPath: string; /** Staged installs, one directory per version. Reserved for staged updates. */ versionsDir: string; /** Runtime locks. Unlike the OS temp dir, nothing else prunes this. */ runDir: string; }; export declare function resolveSkykoiHomeLayout(env?: Record, platform?: NodeJS.Platform): SkykoiHomeLayout; /** * True when `candidate` is the launcher shim for this home — the question the * boot self-audit asks of an installed service definition. Compared * case-insensitively on Windows, where the same file has many spellings. */ export declare function isLauncherPath(candidate: string | undefined, layout: SkykoiHomeLayout, platform?: NodeJS.Platform): boolean;