astro-ghostcms/.pnpm-store/v3/files/2f/b035febc3953a0dcb427572fe76...

4 lines
583 B
Plaintext

import type { LanguagePlugin, SourceFile } from '@volar/language-core';
import type * as ts from 'typescript';
export declare function createResolveModuleName(ts: typeof import('typescript'), languageServiceHost: ts.LanguageServiceHost, languagePlugins: LanguagePlugin<any>[], getFile: (fileName: string) => SourceFile | undefined): (moduleName: string, containingFile: string, compilerOptions: ts.CompilerOptions, cache?: ts.ModuleResolutionCache, redirectedReference?: ts.ResolvedProjectReference, resolutionMode?: ts.ResolutionMode) => ts.ResolvedModuleWithFailedLookupLocations;