///
///
///
///
///
///
import type { Abortable } from "events";
import type { Mode, ObjectEncodingOptions, OpenMode } from "fs";
import fs from "fs/promises";
import type internal from "stream";
export declare function readFile(fileName: string): import("@effect/io/Effect").Effect;
export declare function createReadableStream(fileName: string): import("@effect/io/Effect").Effect;
export declare function openFile(fileName: string): import("@effect/io/Effect").Effect;
export declare function tempFile(folder: string): (prefix: string) => (data: Data, options?: Options) => import("@effect/io/Effect").Effect;
type Data = string | NodeJS.ArrayBufferView | Iterable | AsyncIterable | internal.Stream;
type Options = (ObjectEncodingOptions & {
mode?: Mode | undefined;
flag?: OpenMode | undefined;
} & Abortable) | BufferEncoding | null;
export declare function tempFile_(folder: string, prefix: string, data: Data, options?: Options): import("@effect/io/Effect").Effect;
export {};
//# sourceMappingURL=fileUtil.d.ts.map