/// <reference types="node" resolution-mode="require"/>
import { type WriteStream } from 'fs';
import type Pipeline from './pipeline.js';
import { Progress } from './progress.js';
export default class File {
    private $path;
    private readonly skipExistsCheck;
    private $isValid?;
    constructor($path: string, skipExistsCheck?: boolean);
    private validate;
    get path(): string;
    getStream(append?: boolean): WriteStream;
    toString(): string;
    static is(value: unknown): value is File;
    write(pipeline: Pipeline, progress: Progress): Promise<void>;
}
//# sourceMappingURL=file.d.ts.map