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 FlatCabinet = {
    name: string;
    env: string;
    enterprise: string;
    cluster: {
        name: string;
        provider: string;
        location: string;
    };
};
type CabinetListRequest = IEnterpriseEntity & {
    enterprise: string;
    rootMap: RootMap;
};
export default class CabinetList extends CommandBaseExec<CabinetListRequest> {
    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<CabinetListRequest>, boolean]>;
    buildCandidate_silently(partial: AtLeast<CabinetListRequest, "enterprise">, rootMap: RootMap): Promise<CabinetListRequest | undefined>;
    buildCandidate_interactively(partial: AtLeast<CabinetListRequest, "enterprise">, rootMap: RootMap, takeDefaults: boolean): Promise<CabinetListRequest | undefined>;
    buildCommandString(candidate: CabinetListRequest, cmd: string[]): string[];
    executeTask(candidate: CabinetListRequest): Promise<void>;
    private flattenCabinets;
    private buildCabinetTree;
}
export {};
