///
import type fs from 'fs';
import { FileSystem } from './fileSystem';
export declare class NodeFileProvider extends FileSystem {
fsSync: typeof import('fs') | null;
fs: typeof import('fs').promises | null;
path: typeof import('path') | null;
os: typeof import('os') | null;
init(): Promise;
access(path: fs.PathLike, mode?: number | undefined): Promise;
writeFile(path: string, data: string, options?: {
mode?: fs.Mode;
flag?: fs.OpenMode;
}): Promise;
readFile(path: string): Promise;
mkdir(path: string, options: {
recursive?: boolean;
}): Promise;
resolve(path: string): string;
join(...paths: string[]): string;
dirname(path: string): string;
basename(path: string, ext?: string | undefined): string;
extname(path: string): string;
exists(path: string): Promise;
/**
* Expands a path out using known unix shell shortcuts
* ~ expands to your home directory
* ~+ expands to your current directory
*
* @param filePath The filepath to expand out using unix shortcuts
*/
private expandTilde;
private writeAndFlushFile;
private writeTmpAndRename;
}
//# sourceMappingURL=nodeFileSystem.d.ts.map