import type { PublicReleaseRingId } from '@happier-dev/release-runtime/releaseRings';
import type { FirstPartyComponentId } from './componentCatalog.js';
export interface FirstPartyPruneRetainedVersionsResult {
    keptVersionIds: string[];
    prunedVersionIds: string[];
}
export declare function pruneRetainedVersions(params: Readonly<{
    componentId: FirstPartyComponentId;
    orderedVersionIdsNewestFirst: readonly string[];
    currentVersionId: string | null;
    previousVersionId?: string | null;
    channel?: PublicReleaseRingId;
    releaseRing?: PublicReleaseRingId;
    processEnv?: NodeJS.ProcessEnv;
    retainCount?: number;
}>): Promise<FirstPartyPruneRetainedVersionsResult>;
//# sourceMappingURL=pruneRetainedVersions.d.ts.map