import * as i0 from "@angular/core"; declare global { interface Navigator { webkitPersistentStorage: { requestQuota: (requestedBytes: number, successfulCallback: (grantedBytes: number) => void, errorCallback?: (error: any) => void) => {}; }; } interface Window { requestFileSystem: any; webkitRequestFileSystem: any; PERSISTENT: any; resolveLocalFileSystemURL: any; webkitResolveLocalFileSystemURL: any; } } export interface FileData { path: string; data: string; } export interface DOMFileSystem { name: string; root: DirectoryEntry; } export interface DirectoryEntry { filesystem: DOMFileSystem; fullPath: string; isDirectory: boolean; isFile: boolean; name: string; getFile: any; getDirectory: any; createReader: any; removeRecursively: any; } export interface FileEntry { filesystem: DOMFileSystem; fullPath: string; isDirectory: boolean; isFile: boolean; name: string; createWriter: any; file: any; remove: any; } export declare class FsService { private fs; private quotaSize; constructor(); private initFs; private static errorHandler; readFile(path: string): Promise; readFileEntry(fileEntry: FileEntry): Promise; removeFile(path: string): Promise; removeFileInDirectory(filename: string, dir?: DirectoryEntry | null): Promise; removeDirectoryEntry(dir?: DirectoryEntry | null): Promise; removeDirectory(path: string): Promise; writeFileEntry(fileEntry: FileEntry, data: string): Promise; writeFile(path: string, data: string): Promise; isFileExists(path: string): Promise; isFileExistsInDirectory(filename: string, dir?: DirectoryEntry | null): Promise; resolveDir(dir?: DirectoryEntry | null): Promise; createDirectory(name: string, dir?: DirectoryEntry | null): Promise; readDirectory(path: string): Promise<(FileEntry | DirectoryEntry)[] | false>; readDirectoryEntry(directory: DirectoryEntry): Promise<(FileEntry | DirectoryEntry)[]>; getSubEntry(dir: DirectoryEntry, name: string): Promise; createFile(dir: DirectoryEntry | null | undefined, filename: string): Promise; getEntry(path: string, dir: DirectoryEntry | null | undefined, isFile: boolean, ifAutoCreate: boolean): Promise; getFileEntry(path: string, dir?: DirectoryEntry | null, ifAutoCreate?: boolean): Promise; getDirectoryEntry(path: string, dir?: DirectoryEntry | null, ifAutoCreate?: boolean): Promise; getTree(dir?: DirectoryEntry | null): Promise; private printFSTreeNode; printFSTree(dir?: DirectoryEntry | null, ifCollapsed?: boolean): void; writeMultipleFiles(items: FileData[], index?: number, ifLog?: boolean): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }