UNPKG

440 BTypeScriptView Raw
1import { VisitorContext } from "../types";
2export interface ResolvedModule {
3 /**
4 * Absolute path to resolved module
5 */
6 resolvedPath: string | undefined;
7 /**
8 * Output path
9 */
10 outputPath: string;
11 /**
12 * Resolved to URL
13 */
14 isURL: boolean;
15}
16/**
17 * Resolve a module name
18 */
19export declare function resolveModuleName(context: VisitorContext, moduleName: string): ResolvedModule | undefined;