export { chmod, createFileSystem, exists, isAlreadyExistsError, isNotFoundError, makeTempDir, mkdir, readDir, readFile, readTextFile, remove, stat, writeFile, writeTextFile, } from "../platform/compat/fs.js"; export { cwd, deleteEnv, env, getArgs, getEnv, setEnv, } from "../platform/compat/process.js"; /** Create temp file. */ export declare function makeTempFile(options?: { prefix?: string; suffix?: string; }): Promise; /** Options accepted by make temp dir with. */ export declare function makeTempDirWithOptions(options?: { prefix?: string; dir?: string; }): Promise; /** Wait until a condition succeeds. */ export declare function waitFor(condition: () => boolean | Promise, options?: { timeout?: number; interval?: number; message?: string; }): Promise; /** Wait for a duration in milliseconds. */ export declare function delay(ms: number): Promise; /** Exit the current process. */ export declare function exit(code: number): never; /** Applies temp dir. */ export declare function withTempDir(fn: (tempDir: string) => Promise, options?: { prefix?: string; }): Promise; /** Applies temp file. */ export declare function withTempFile(fn: (tempFile: string) => Promise, options?: { prefix?: string; suffix?: string; }): Promise; /** Applies env. */ export declare function withEnv(vars: Record, fn: () => Promise): Promise; //# sourceMappingURL=deno-compat.d.ts.map