1 | import { Resolver, DirectoryService } from '@fimbul/ymir';
|
2 | import { CachedFileSystem } from '../cached-file-system';
|
3 | export declare class NodeResolver implements Resolver {
|
4 | private fs;
|
5 | private directories;
|
6 | private defaultExtensions;
|
7 | constructor(fs: CachedFileSystem, directories: DirectoryService);
|
8 | getDefaultExtensions(): readonly string[];
|
9 | resolve(id: string, basedir?: string, extensions?: readonly string[], paths?: ReadonlyArray<string>): string;
|
10 | require(id: string, options?: {
|
11 | cache?: boolean;
|
12 | }): any;
|
13 | }
|