import { Integer } from '@epdoc/typeutil';
/**
 * Object contains the [fs.Stats](https://nodejs.org/api/fs.html#class-fsstats)
 * for a file. Test if this has been initialized with an `fs.Stats` object by
 * calling FSStats#isInitialized.
 *
 * Contains a number of property methods that do not require asynchronous calls.
 */
export declare class FSStats {
    protected _isFSStats: boolean;
    _stats: any;
    constructor(stats?: any);
    static isInstance(val: any): val is FSStats;
    /**
     * Return a copy of this object.
     * @returns
     */
    copy(): FSStats;
    /**
     * Test if the stats have been read
     * @returns
     */
    isInitialized(): boolean;
    /**
     * Clear stats.
     * @returns
     */
    clear(): this;
    /**
     * Does the file exist? Should be called only after stats have been read.
     * @returns
     */
    exists(): boolean;
    isDirectory(): boolean;
    isFolder(): boolean;
    isDir(): boolean;
    isFile(): boolean;
    createdAt(): Date | undefined;
    modifiedAt(): Date | undefined;
    get size(): Integer;
}
