/** The directory name of the default harness home under the OS home. */ export declare const DSH_HOME_DIR_NAME = ".dsh"; /** Environment variable that overrides the default harness home. */ export declare const DSH_HOME_ENV = "DSH_HOME"; /** * Expand the supported tilde prefixes against the OS home. * @param path - Configured path that may begin with `~`, `~/`, or `~\`. * @returns The expanded path, or the original value when no prefix is present. */ export declare function expandHomePath(path: string): string; /** * Resolve the harness home using the documented precedence. * @param configured - Explicit override with the highest precedence. * @param env - Environment mapping used to read `DSH_HOME`. * @returns The normalized absolute harness home. */ export declare function resolveDshHome(configured?: string, env?: NodeJS.ProcessEnv): string; /** * Join segments onto the resolved harness home. * @param segments - Path segments appended to the harness home. * @returns The normalized absolute joined path; the home itself when empty. */ export declare function dshHomePath(...segments: string[]): string; /** * Describe a resolved harness home symbolically, never as a machine path. * @param resolvedHome - Absolute path from {@link resolveDshHome}. * @returns `~/.dsh` for the default home, otherwise `$DSH_HOME`. */ export declare function dshHomeDisplay(resolvedHome: string): string;