Files
NapCatQQ/.pnpm-store/v3/files/e6/316cf1c2ff64e9f487067743fbe39f0267fcbda973db10e030f56fdc1d15042500e630257699ec5b2ce0256c8480845249418a0144149407fad1f9710ae020
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

11 lines
903 B
Plaintext

import type { LiteralNodeValue, PluginSettings, RuleContext } from '../types.js';
export declare function isAbsolute(name?: LiteralNodeValue): boolean;
export declare function isBuiltIn(name: string, settings: PluginSettings, modulePath?: string | null): boolean;
export declare function isExternalModule(name: string, modulePath: string, context: RuleContext): boolean;
export declare function isExternalModuleMain(name: string, modulePath: string, context: RuleContext): boolean;
export declare function isScoped(name: string): boolean;
export declare function isScopedMain(name: string): boolean;
export declare function isExternalLookingName(name: string): boolean;
export declare function importType(name: LiteralNodeValue, context: RuleContext): "internal" | "absolute" | "builtin" | "parent" | "index" | "sibling" | "external" | "unknown";
export type ImportType = ReturnType<typeof importType>;