import type { Command } from "commander";
import { z } from "zod";
type WhoAmIResult = {
    success: true;
    data: {
        userId: string;
        email: string;
        dashboardUrl: string;
        projectUrl?: string;
    };
} | {
    success: false;
    error: string;
};
declare const WhoamiCommandOptions: z.ZodObject<{
    apiUrl: z.ZodOptional<z.ZodString>;
    logLevel: z.ZodDefault<z.ZodEnum<{
        debug: "debug";
        error: "error";
        info: "info";
        log: "log";
        none: "none";
        warn: "warn";
    }>>;
    skipTelemetry: z.ZodDefault<z.ZodBoolean>;
    profile: z.ZodDefault<z.ZodString>;
    config: z.ZodOptional<z.ZodString>;
    projectRef: z.ZodOptional<z.ZodString>;
    envFile: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type WhoamiCommandOptions = z.infer<typeof WhoamiCommandOptions>;
export declare function configureWhoamiCommand(program: Command): Command;
export declare function whoAmI(options?: WhoamiCommandOptions, embedded?: boolean, silent?: boolean): Promise<WhoAmIResult>;
export {};
