/**
 * Returns true when the process is running inside a Docker container.
 * Detection order:
 *   1. MINION_IN_DOCKER=1 env var (explicit override, useful in tests / exotic setups)
 *   2. Presence of /.dockerenv (standard Docker container marker)
 */
export declare function resolveIsInDocker(env?: NodeJS.ProcessEnv, existsSync?: (p: string) => boolean): boolean;
export declare const isInDocker: boolean;
export declare function resolveEffectiveHomeDir(env?: NodeJS.ProcessEnv, homedir?: () => string, existsSync?: (p: string) => boolean): string | undefined;
export declare function resolveRequiredHomeDir(env?: NodeJS.ProcessEnv, homedir?: () => string, existsSync?: (p: string) => boolean): string;
export declare function expandHomePrefix(input: string, opts?: {
    home?: string;
    env?: NodeJS.ProcessEnv;
    homedir?: () => string;
}): string;
