import { Environment } from '../../environment'; export declare const DEFAULT_PERSONAL_TCR_REGISTRY = "ccr.ccs.tencentyun.com"; export interface IPersonalTcrService { ensurePushTarget: (options: { namespace: string; repository: string; ensureNamespace?: boolean; ensureRepository?: boolean; }) => Promise; cleanupTags: (options: { namespace: string; repository: string; retain?: number; }) => Promise; } export declare class PersonalTcrService implements IPersonalTcrService { private readonly request; constructor(environment: Environment); ensurePushTarget(options: { namespace: string; repository: string; ensureNamespace?: boolean; ensureRepository?: boolean; }): Promise; cleanupTags(options: { namespace: string; repository: string; retain?: number; }): Promise; private namespaceExists; private repositoryExists; private createIgnoringExisting; private listAllTags; } export declare function createPersonalTcrService(environment: Environment): IPersonalTcrService;