export interface Access { name: string; type: string; actions: string[]; alias?: string; } export declare const generateToken: (subject: string | undefined, audience: string, access: Access[]) => string; export declare const token: import("express").RequestHandler | undefined; }, Record>; declare class S3Client { private s3; private bucket; private rootPath; constructor(config: { endpoint: string; accessKey: string; secretKey: string; bucket: string; rootPath: string; }); private listChildPrefixes; private listDigestsAt; listRepoDigests(repo: string): Promise; listTagDigests(repo: string, tag: string): Promise; listCacheRepos(repo: string): Promise; } export declare const s3Client: S3Client | undefined; export declare function generateDeleteToken(subject: string, repo: string): string; export declare function deleteImage(registryToken: string, repo: string, digest: string): Promise; export {};