import { BundlerEntryRecord } from "../../types.d.ts"; import type { DiscoveredFile, NormalizedBundleRule, NormalizedDiscoverOptions, NormalizedDiscoverRule } from "./shared.js"; declare function scanDiscoveredFiles(config: NormalizedDiscoverOptions, rootDir: string): Promise; declare function classifyFile(args: { config: NormalizedDiscoverOptions; file: DiscoveredFile; }): NormalizedDiscoverRule | undefined; declare function splitByMaxSize(args: { files: Array; maxBundleSize: number; }): Array>; declare function assignSourceOwner(args: { entryKey: string; sourceOwners: Map; sourcePath: string; }): void; declare function validateGroupedBootImports(args: { entries: BundlerEntryRecord[]; rootDir: string; }): Promise; declare function readBundleFilesWithStats(matchedFiles: DiscoveredFile[], rule: NormalizedBundleRule): Promise>; export { assignSourceOwner, classifyFile, readBundleFilesWithStats, scanDiscoveredFiles, splitByMaxSize, validateGroupedBootImports, }; //# sourceMappingURL=scan.d.ts.map