import { Command } from '@oclif/core';
import { RootMap } from '../../../apis/codiac-api/contracts';
import { CommandBaseExecTenant } from '../../../command-base-exec-tenant';
type CredentialsSetCandidate = {
    clusterName: string;
    kubeconfigYaml: string;
    contextName?: string;
};
export default class NocClusterCredentialsSet extends CommandBaseExecTenant<CredentialsSetCandidate> {
    static description: string;
    static aliases: string[];
    static examples: Command.Example[];
    static flags: {
        file: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        context: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        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: {
        name: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
    };
    captureArgs(): Promise<[Partial<CredentialsSetCandidate>, boolean]>;
    buildCandidate_silently(partial: Partial<CredentialsSetCandidate>, _rootMap: RootMap): Promise<CredentialsSetCandidate | undefined>;
    buildCandidate_interactively(partial: Partial<CredentialsSetCandidate>, _takeDefaults: boolean, _rootMap: RootMap): Promise<CredentialsSetCandidate | undefined>;
    /** Fetches ClusterDefs with provider "other" and prompts the user to pick one. */
    private promptForOtherCluster;
    buildCommandString(candidate: CredentialsSetCandidate, cmd: string[]): string[];
    executeTask(candidate: CredentialsSetCandidate): Promise<void>;
    /**
     * Returns kubeconfig YAML from the given file path, or from stdin if
     * content was piped in and no file path was supplied.
     */
    private resolveKubeconfigYaml;
}
export {};
