import { PackageJson } from "type-fest"; //#region src/filesystem/flatten-package-export-paths.d.ts /** * Aggregate all export paths from a given package.json file. * Useful for building a list of files to check for invalid export paths. * @param packageJson */ declare function flattenPackageExportPaths(packageJson: PackageJson): ResolvedExportPaths; type ResolvedExportPaths = { types: string | null; main: string | null; exports: string[] | null; all: string[]; warnings: string[]; }; //#endregion //#region src/filesystem/verify-package-export-paths.d.ts /** * Verify that the exports in the provided package.json file exist and are valid. */ declare function verifyPackageExportPaths(config: VerifyOptions): Promise<{ types: string | null; main: string | null; exports: string[] | null; all: string[]; warnings: string[]; }>; interface VerifyOptions { packageJsonPath: string; requireFilesWhitelist?: boolean; } //#endregion export { flattenPackageExportPaths, verifyPackageExportPaths }; //# sourceMappingURL=filesystem.d.mts.map