import { AllPackages, PackageId } from "./packages"; export interface PreparePackagesResult { readonly packageNames: Set; readonly dependents: Set; readonly attwChanges: Set; } /** Gets all packages that have changed on this branch, plus all packages affected by the change. */ export declare function getAffectedPackages(allPackages: AllPackages, git: { deletions: PackageId[]; additions: PackageId[]; attwChanges: PackageId[]; }, definitelyTypedPath: string, diffBase: string): Promise; /** This function is exported for testing, since it's determined entirely by its inputs. */ export declare function getAffectedPackagesWorker(allPackages: AllPackages, changedOutput: string, additions: string[], attwChangedPackages: PackageId[], dependentOutputs: string[], definitelyTypedPath: string): Promise;