import { CommandBaseExecTenant } from '../../../command-base-exec-tenant';
import { RootMap } from '../../../apis/codiac-api/contracts';
export type IClusterAgentInstallRequest = {
    cluster: string;
    version?: string;
};
export default class ClusterAgentInstall extends CommandBaseExecTenant<IClusterAgentInstallRequest> {
    static description: string;
    static aliases: string[];
    static examples: {
        description: string;
        command: string;
    }[];
    static flags: {
        silent: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
        echo: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
        "to-script": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
        "take-defaults": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
        version: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
    };
    static args: {
        cluster: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
    };
    protected adminOnly: boolean;
    captureArgs(): Promise<[Partial<IClusterAgentInstallRequest>, boolean]>;
    buildCandidate_silently(partial: Partial<IClusterAgentInstallRequest>, rootMap: RootMap): Promise<IClusterAgentInstallRequest | undefined>;
    buildCandidate_interactively(partial: Partial<IClusterAgentInstallRequest>, takeDefaults: boolean, rootMap: RootMap): Promise<IClusterAgentInstallRequest | undefined>;
    private promptForVersion;
    private fetchEnvoyVersions;
    buildCommandString(candidate: IClusterAgentInstallRequest, cmd: string[]): string[];
    executeTask(candidate: IClusterAgentInstallRequest): Promise<void>;
}
