///
import { Readable } from 'stream';
export declare function emptyDirectory(directory: string): Promise;
export declare function writeToPath(directory: string, obj: any): Promise;
export declare function readFromPath(directory: string): Promise;
export declare type FileHandler = (file: {
Key: string;
Body: Buffer | string | Readable;
}) => Promise;
export declare function handleFile(handler: FileHandler, key: string, body: Buffer | string | Readable, backoffMS?: number, numTries?: number): Promise;
export declare function throwIfNotJSONExt(stackFile: string): void;
//# sourceMappingURL=fileUtils.d.ts.map