import type { PackageDefinitionsCache, Session } from '@ms-cloudpack/common-types'; import type { GeneratedPackageChanges } from './types/GeneratedPackageChanges.js'; import type { InitPackageResult } from './types/InitPackageResult.js'; /** * Optimizes the dependencies of a package to determine if there are any missing or unused. * If so, adds the the missing dependencies to included and the unused dependencies to excluded. * * Returns the list of excluded dependencies added to the generated config. */ export declare function optimizeDependencies(packageResults: Record, context: { packages: PackageDefinitionsCache; session: Session; }): Promise; //# sourceMappingURL=optimizeDependencies.d.ts.map