/**
 * Whoami Command - Identity Introspection
 *
 * PURPOSE: Report current authentication state
 *
 * BEHAVIOR:
 * - If not authenticated: Show message suggesting login
 * - If authenticated: Show user and org info
 * - Show execution status
 *
 * DOES NOT:
 * - Initiate login
 * - Require an API key to explain state
 * - Fabricate identity
 * - Make network calls
 * - Throw on missing auth
 */
import { type Entitlement } from '../gates/execution-gate.js';
import type { OrgRole } from '../types/index.js';
export interface WhoamiCommandResult {
    authenticated: boolean;
    user?: string;
    user_id?: string;
    org?: string;
    org_id?: string;
    role?: OrgRole;
    entitlement?: Entitlement;
    execution_enabled: boolean;
}
/**
 * Execute the whoami command.
 *
 * Checks authentication state FIRST. Identity resolution only
 * runs if authenticated.
 *
 */
export declare function executeWhoamiCommand(): Promise<WhoamiCommandResult>;
/**
 * Format whoami result for terminal output.
 */
export declare function formatWhoamiForDisplay(result: WhoamiCommandResult): string;
//# sourceMappingURL=whoami.d.ts.map