import type { BundlerAggregateEntryMetadata, BundlerAggregateRuleMetadata } from "../../types.d.ts"; import type { DiscoveredFile, NormalizedAggregateModuleMap, NormalizedAggregateRule, NormalizedDiscoverOptions, ResolvedAggregateRootModule } from "./shared.js"; declare function computeAggregateKeyRoot(includePatterns: string[], matchedFiles: DiscoveredFile[]): string; declare function normalizeAggregatePathKey(args: { collapseIndex: boolean; file: DiscoveredFile; keyRoot: string; }): string; declare function validateAggregatePathKeys(args: { collapseIndex: boolean; matchedFiles: DiscoveredFile[]; rule: NormalizedAggregateRule; }): void; declare function createAggregateEntryMetadata(args: { matchedFiles: DiscoveredFile[]; rootModule?: ResolvedAggregateRootModule; skippedSources?: string[]; }): BundlerAggregateEntryMetadata; declare function createAggregateRuleMetadata(args?: { rootModule?: ResolvedAggregateRootModule; skippedSources?: string[]; }): BundlerAggregateRuleMetadata; declare function buildAggregateModuleMapContents(args: { aggregate: NormalizedAggregateModuleMap; includePatterns: string[]; matchedFiles: DiscoveredFile[]; rootDir: string; rootModule?: ResolvedAggregateRootModule; }): string; declare function resolveAggregateRootModule(args: { config: NormalizedDiscoverOptions; rootDir: string; rule: NormalizedAggregateRule; }): ResolvedAggregateRootModule | undefined; export { buildAggregateModuleMapContents, computeAggregateKeyRoot, createAggregateEntryMetadata, createAggregateRuleMetadata, normalizeAggregatePathKey, resolveAggregateRootModule, validateAggregatePathKeys, }; //# sourceMappingURL=aggregate.d.ts.map