import type { RequestHandler } from 'express'; export interface Access { name: string; type: string; actions: string[]; alias?: string; } export declare const token: RequestHandler; 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 {};