import type { ParsedPackageSettings } from '../settings/settings.js'; import type { BasePackageInfo } from '../types/base.js'; type GetEntryPointSpecifier = (filePath: string) => string | undefined; type IsExternallyImportedCheck = (filePath: string) => boolean; type ComputeBaseInfoOptions = Pick & { getEntryPointSpecifier: GetEntryPointSpecifier; isExternallyImportedCheck: IsExternallyImportedCheck; }; /** * Computes base ESM info for all source files recursively found in basePath */ export declare function computeBaseInfo({ packageRootDir, fixedAliases, wildcardAliases, ignorePatterns, ignoreOverridePatterns, packageName, getEntryPointSpecifier, isExternallyImportedCheck, }: ComputeBaseInfoOptions): BasePackageInfo; type ComputeFileDetailsOptions = { filePath: string; fileContents: string; getEntryPointSpecifier: GetEntryPointSpecifier; isExternallyImportedCheck: IsExternallyImportedCheck; }; export declare function addBaseInfoForFile({ filePath, fileContents, getEntryPointSpecifier, isExternallyImportedCheck, }: ComputeFileDetailsOptions, basePackageInfo: BasePackageInfo): void; export declare function updateBaseInfoForFile({ filePath, fileContents, getEntryPointSpecifier, isExternallyImportedCheck, }: ComputeFileDetailsOptions, basePackageInfo: BasePackageInfo): boolean; export declare function deleteBaseInfoForFile(filePath: string, basePackageInfo: BasePackageInfo): void; export {};