1 | import { ProgressLog } from "@atomist/sdm";
|
2 | import { S3 } from "aws-sdk";
|
3 | import { PublishToS3Options } from "./options";
|
4 | declare type QuantityDeleted = number;
|
5 | declare type SuccessfullyPushedKey = string;
|
6 | declare type Warning = string;
|
7 | export declare function deleteKeys(s3: S3, log: ProgressLog, params: PublishToS3Options, keysToDelete: S3.ObjectIdentifier[]): Promise<[QuantityDeleted, Warning[]]>;
|
8 | export declare function gatherKeysToDelete(s3: S3, log: ProgressLog, keysToKeep: SuccessfullyPushedKey[], params: PublishToS3Options): Promise<[S3.ObjectIdentifier[], Warning[]]>;
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare function filterKeys(keys: string[], objects: S3.Object[]): S3.ObjectIdentifier[];
|
17 | export {};
|