import { FileHandle } from "fs/promises";
import { IFile } from "./types.js";
export declare class File implements IFile {
    path: string;
    name: string;
    extension: string;
    fullPath: string;
    constructor(fullPath: string);
    readData(): Promise<Buffer>;
    writeData(data: Buffer): Promise<void>;
    getHandle(): Promise<FileHandle>;
    getDataHash(algo?: string): Promise<string>;
}
