/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* @format
*/
///
///
import { WritableFileRepository } from './FileRepository';
/**
* Allows reading physical files based on a passed in directory
*/
export default class FileSystemRepository implements WritableFileRepository {
private readonly baseDir;
constructor(baseDir: string);
listFiles(globs?: string[]): Promise;
readFile(filename: string): Promise;
stat(filename: string): Promise<'file' | 'directory' | 'none'>;
writeFile(filename: string, content: Buffer | string): Promise;
deleteFile(filename: string): Promise;
}