UNPKG

753 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.dev/license
7 */
8import { Observable } from 'rxjs';
9import { Path, PathFragment } from '../path';
10import { FileBuffer, HostCapabilities, ReadonlyHost, Stats } from './interface';
11export declare class Empty implements ReadonlyHost {
12 readonly capabilities: HostCapabilities;
13 read(path: Path): Observable<FileBuffer>;
14 list(path: Path): Observable<PathFragment[]>;
15 exists(path: Path): Observable<boolean>;
16 isDirectory(path: Path): Observable<boolean>;
17 isFile(path: Path): Observable<boolean>;
18 stat(path: Path): Observable<Stats<{}> | null>;
19}