import { InteractionModes } from '../../uilogic/config-ui-utils';
import { CommandBaseExecTenant } from '../../command-base-exec-tenant';
import { K8sUtils } from '../../ops/k8s/k8s-utils';
export type IClusterRequest = {
    cluster: string;
    forceRefresh?: boolean;
};
export default class ClusterConnect extends CommandBaseExecTenant<IClusterRequest> {
    static description: string;
    static aliases: never[];
    static examples: 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>;
    };
    static args: {
        cluster: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
    };
    protected adminOnly: boolean;
    protected get k8sUtils(): K8sUtils;
    private _k8sUtils_backer;
    protected bootstrap(): void;
    captureArgs(): Promise<[Partial<IClusterRequest>, InteractionModes | undefined, boolean]>;
    buildCandidate_silently(partial: Partial<IClusterRequest>): Promise<IClusterRequest | undefined>;
    buildCandidate_interactively(partial: Partial<IClusterRequest>, takeDefaults: boolean): Promise<IClusterRequest | undefined>;
    buildCommandString(candidate: IClusterRequest, cmd: string[]): string[];
    executeTask(candidate: IClusterRequest): Promise<void>;
    private loadClusters;
    /** Renders a user-friendly cluster description. */
    private describe;
    /** Returns the name of the selected cluster.
    */
    private promptForCluster;
}
