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
11 lines
903 B
Plaintext
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>;
|