import "reflect-metadata";
import { RootMap } from "./apis/codiac-api/contracts";
import { CommandBaseEnterprise } from "./command-base-enterprise";
export interface IEnterpriseEntity {
    /** The code for the enterprise in which the entity is situated. */
    enterprise: string;
}
/** Base class for commands involving entities at tenant-level scope.   */
export declare abstract class CommandBaseExecTenant<TCandidate> extends CommandBaseEnterprise {
    /** CLI Command-line string to rerun this execution as a non-TTY script. */
    protected cmd: string[];
    run(): Promise<void>;
    /** Parses CLI flags into a partial candidate and returns the takeDefaults flag plus an
     *  explicit-inputs snapshot. The interaction mode (silent / echo / to-script) is determined
     *  centrally by the base class from argv — commands must NOT compute or return it here.
     *  The explicit bag contains only the flags the user actually typed (no defaults, no context
     *  enrichment) and is threaded through to the build methods so UI utilities can distinguish
     *  "user typed this" from "this came from context or a built-in default". */
    abstract captureArgs(): Promise<[
        partial: Partial<TCandidate>,
        takeDefaults: boolean,
        explicit?: Partial<TCandidate>
    ]>;
    abstract buildCandidate_silently(partial: Partial<TCandidate>, rootMap: RootMap, explicit?: Partial<TCandidate>): Promise<TCandidate | undefined>;
    abstract buildCandidate_interactively(partial: Partial<TCandidate>, takeDefaults: boolean, rootMap: RootMap, explicit?: Partial<TCandidate>): Promise<TCandidate | undefined>;
    abstract buildCommandString(candidate: TCandidate, cmd: string[]): string[];
    abstract executeTask(candidate: TCandidate): Promise<void>;
}
