/********************************************************************
 * @author:      Kaven
 * @email:       kaven@wuwenkai.com
 * @website:     http://blog.kaven.xyz
 * @file:        [Kaven-Utils] /src/DockerRegistry.ts
 * @create:      2023-12-07 15:01:55.009
 * @modify:      2023-12-08 17:29:43.237
 * @version:     5.4.0
 * @times:       16
 * @lines:       88
 * @copyright:   Copyright © 2023 Kaven. All Rights Reserved.
 * @description: [description]
 * @license:     [license]
 ********************************************************************/
/**
 * @since 5.4.0
 * @version 2023-12-07
 */
export declare class DockerRegistry {
    private readonly url;
    private readonly authorization?;
    constructor(url: string, credentials?: {
        username: string;
        password: string;
    });
    ListImages(): Promise<string[] | undefined>;
    ListTags(repository: string): Promise<{
        name: string;
        tags: string[];
    } | undefined>;
    /**
     * Pulling an Image Manifest
     * @see https://distribution.github.io/distribution/spec/api/#pulling-an-image-manifest
     */
    GetImageManifest(name: string, reference: string): Promise<{
        name: string;
        tags: string[];
    } | undefined>;
    ListImageWithTags(): Promise<{
        name: string;
        tags: string[];
    }[]>;
    private CreateRequest;
}
