/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Observable } from 'rxjs'; import { Path, PathFragment } from '../path'; import { FileBuffer, Host, HostCapabilities, HostWatchEvent, HostWatchOptions, Stats } from './interface'; /** * A Host that runs a method before calling its delegate. This is an abstract class and its actual * behaviour is entirely dependant of the subclass. */ export declare abstract class ResolverHost implements Host { protected _delegate: Host; protected abstract _resolve(path: Path): Path; constructor(_delegate: Host); get capabilities(): HostCapabilities; write(path: Path, content: FileBuffer): Observable; read(path: Path): Observable; delete(path: Path): Observable; rename(from: Path, to: Path): Observable; list(path: Path): Observable; exists(path: Path): Observable; isDirectory(path: Path): Observable; isFile(path: Path): Observable; stat(path: Path): Observable | null> | null; watch(path: Path, options?: HostWatchOptions): Observable | null; }