import { Command } from '@oclif/core';
import { ScopeLevel, RootMap } from '../../apis/codiac-api/contracts';
import { CommandBaseExec, IEnterpriseEntity } from '../../command-base-exec';
import { AtLeast } from '@codiac.io/codiac-common/contracts';
type EnvAddRequest = IEnterpriseEntity & {
    enterprise: string;
    assetName: string;
    setting: string;
    value: string;
    scopeLevel?: ScopeLevel;
    scopeName?: string;
};
export default class EnvAdd extends CommandBaseExec<EnvAddRequest> {
    static description: string;
    static flags: {
        help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
        setting: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        value: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        enterprise: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        environment: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        cabinet: 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>;
    };
    static args: {
        setting: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
    };
    static examples: Command.Example[];
    captureArgs(): Promise<[Partial<EnvAddRequest>, boolean]>;
    buildCandidate_silently(partial: AtLeast<EnvAddRequest, "enterprise">, rootMap: RootMap): Promise<EnvAddRequest | undefined>;
    buildCandidate_interactively(partial: AtLeast<EnvAddRequest, "enterprise">, rootMap: RootMap, takeDefaults: boolean): Promise<EnvAddRequest | undefined>;
    buildCommandString(candidate: EnvAddRequest, cmd: string[]): string[];
    executeTask(candidate: EnvAddRequest): Promise<void>;
    private writeSetting_Api;
    private writeSettingEnv_local;
    /** Retrieves the list of settings from the env schema that are not yet explicitly declared. */
    getAvailableSettings(): Promise<string[]>;
}
export {};
