export declare const ATOMIC_TEMP_ENV_KEYS: readonly ["TMPDIR", "TMP", "TEMP"];
export declare function atomicTempDir(homeDir?: string): string;
export declare function ensureAtomicTempDir(dir?: string): string;
export declare function atomicTempEnv(dir?: string): Record<string, string>;
export declare function atomicTempPath(prefix: string, extension: string, id?: string, dir?: string): string;
export declare function atomicContentTempPath(prefix: string, extension: string, content: string, dir?: string): string;
export declare function withAtomicTempEnv<T>(fn: () => Promise<T>, dir?: string): Promise<T>;
//# sourceMappingURL=atomic-temp.d.ts.map