import { Command } from '@oclif/core';
import { RootMap } from '../../apis/codiac-api/contracts';
import { CommandBaseExec, IEnterpriseEntity } from '../../command-base-exec';
import { AtLeast } from '@codiac.io/codiac-common/contracts';
export type FlatEnviro = {
    name: string;
    sequence?: number | undefined;
    enterprise: string;
    thisMachine?: boolean | undefined;
    clusters: {
        name: string;
        provider: string;
        locationName: string;
        thisMachine?: boolean | undefined;
    }[];
};
type EnvironmentListRequest = IEnterpriseEntity & {
    enterprise: string;
    rootMap: RootMap;
};
export default class EnvironmentList extends CommandBaseExec<EnvironmentListRequest> {
    static description: string;
    static aliases: string[];
    protected infrxAliases: string[] | undefined;
    static flags: {
        help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
        enterprise: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        output: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
        query: 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: {};
    static examples: Command.Example[];
    private _outputFormat;
    private _query;
    captureArgs(): Promise<[Partial<EnvironmentListRequest>, boolean]>;
    buildCandidate_silently(partial: AtLeast<EnvironmentListRequest, "enterprise">, rootMap: RootMap): Promise<EnvironmentListRequest | undefined>;
    buildCandidate_interactively(partial: AtLeast<EnvironmentListRequest, "enterprise">, rootMap: RootMap, takeDefaults: boolean): Promise<EnvironmentListRequest | undefined>;
    buildCommandString(candidate: EnvironmentListRequest, cmd: string[]): string[];
    executeTask(candidate: EnvironmentListRequest): Promise<void>;
    private flattenEnviros;
    private buildEnviroTree;
    private buildEnviroClusterDesc;
}
export {};
