import { ProgressLog } from "@atomist/sdm"; import { S3 } from "aws-sdk"; import { PublishToS3Options } from "./options"; declare type QuantityDeleted = number; declare type SuccessfullyPushedKey = string; declare type Warning = string; export declare function deleteKeys(s3: S3, log: ProgressLog, params: PublishToS3Options, keysToDelete: S3.ObjectIdentifier[]): Promise<[QuantityDeleted, Warning[]]>; export declare function gatherKeysToDelete(s3: S3, log: ProgressLog, keysToKeep: SuccessfullyPushedKey[], params: PublishToS3Options): Promise<[S3.ObjectIdentifier[], Warning[]]>; /** * Remove objects that either have no key or match a key in `keys`. * * @param keys Keys that should be removed from `objects` * @param objects Array to filter * @return Array of object identifiers */ export declare function filterKeys(keys: string[], objects: S3.Object[]): S3.ObjectIdentifier[]; export {}; //# sourceMappingURL=deleteS3.d.ts.map