import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * How the user heard about Alien. */ export declare const UserProfileAcquisitionSource: { readonly Github: "github"; readonly XTwitter: "x-twitter"; readonly Linkedin: "linkedin"; readonly HackerNews: "hacker-news"; readonly Reddit: "reddit"; readonly Search: "search"; readonly FriendOrColleague: "friend-or-colleague"; readonly Founder: "founder"; readonly EventOrCommunity: "event-or-community"; readonly Other: "other"; }; /** * How the user heard about Alien. */ export type UserProfileAcquisitionSource = ClosedEnum; export type UserProfile = { /** * Unique user identifier */ id: string; /** * User's email address */ email: string; /** * User's display name */ name: string; /** * User's avatar image URL */ image: string | null; /** * Linked GitHub username */ githubUsername: string | null; /** * Whether this user has ever authenticated a request from the Alien CLI. Latched on first CLI request, never cleared. */ cliConnected: boolean; /** * Company name collected during profile setup. */ company: string | null; /** * How the user heard about Alien. */ acquisitionSource: UserProfileAcquisitionSource | null; /** * Additional acquisition source detail when the source is other. */ acquisitionSourceDetail: string | null; /** * What the user is hoping to use Alien for. */ useCases: string | null; /** * When the user completed the required profile setup dialog. */ profileSetupCompletedAt: Date | null; /** * Version of the required profile setup dialog the user completed. */ profileSetupVersion: number | null; }; /** @internal */ export declare const UserProfileAcquisitionSource$inboundSchema: z.ZodEnum; /** @internal */ export declare const UserProfile$inboundSchema: z.ZodType; export declare function userProfileFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=userprofile.d.ts.map