import { Opaque, Dictionary } from "ts-essentials";
export declare function runOrCatchError<T>(fn: () => T): T | undefined;
export declare function getRequiredEnv(name: string): string;
export declare function normalizePath(absoluteOrRelativePath: string): Path;
export declare type Path = Opaque<string, "PATH">;
export declare function maskSecrets(output: string, env: Dictionary<string | undefined>): string;
export declare function ensureAbsolutePath(path: string): void;
