import { 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", "info", "log", "warn", "error", "none"]>>;
    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>;
}, "strip", z.ZodTypeAny, {
    logLevel: "error" | "log" | "debug" | "info" | "warn" | "none";
    skipTelemetry: boolean;
    profile: string;
    config?: string | undefined;
    apiUrl?: string | undefined;
    projectRef?: string | undefined;
    envFile?: string | undefined;
}, {
    config?: string | undefined;
    logLevel?: "error" | "log" | "debug" | "info" | "warn" | "none" | undefined;
    apiUrl?: string | undefined;
    projectRef?: string | undefined;
    skipTelemetry?: boolean | undefined;
    profile?: string | undefined;
    envFile?: string | undefined;
}>;
type WhoamiCommandOptions = z.infer<typeof WhoamiCommandOptions>;
export declare function configureWhoamiCommand(program: Command): Command;
export declare function whoAmICommand(options: unknown): Promise<WhoAmIResult | undefined>;
export declare function whoAmI(options?: WhoamiCommandOptions, embedded?: boolean, silent?: boolean): Promise<WhoAmIResult>;
export {};
