UNPKG

843 BTypeScriptView Raw
1import { AliasFS } from '@yarnpkg/fslib';
2import { Fetcher, FetchOptions } from './Fetcher';
3import { Locator } from './types';
4export declare class VirtualFetcher implements Fetcher {
5 supports(locator: Locator): boolean;
6 getLocalPath(locator: Locator, opts: FetchOptions): import("@yarnpkg/fslib").PortablePath | null;
7 fetch(locator: Locator, opts: FetchOptions): Promise<{
8 packageFs: AliasFS<import("@yarnpkg/fslib").PortablePath>;
9 releaseFs?: (() => void) | undefined;
10 prefixPath: import("@yarnpkg/fslib").PortablePath;
11 localPath?: import("@yarnpkg/fslib").PortablePath | null | undefined;
12 checksum?: string | undefined;
13 discardFromLookup?: boolean | undefined;
14 }>;
15 getLocatorFilename(locator: Locator): import("@yarnpkg/fslib").Filename;
16 private ensureVirtualLink;
17}
18
\No newline at end of file