import Docker from '@cto.ai/dockerode';
import Command, { flags } from '../base';
import { OpsFindResponse } from '../types';
import { FeathersClient } from '../services/Feathers';
export declare const getOps: (opName: string, teamId: string, accessToken: string, api: FeathersClient) => Promise<OpsFindResponse>;
export declare const formImageName: (nameOrId: string, teamName: string, registryHost: string) => string;
export declare const removeImage: (docker: any, imageName: string) => Promise<void>;
export declare class Cleanup extends Command {
    static description: string;
    static flags: flags.Input<any>;
    static args: {
        name: string;
        description: string;
    }[];
    docker: Docker | undefined;
    run(): Promise<void>;
}
