export type StoredCliAuthConfig = { appUrl: string | null; token: string | null; user?: { email?: string | null } | null; loggedInAt?: string | null; tokenStore?: { type: "keychain" | "file"; service?: string | null; account?: string | null; } | null; }; export function buildCliKeychainDescriptor( appUrl: string | null | undefined, email: string | null | undefined, ): { service: string; account: string; }; export function normalizeStoredCliAuthConfig(raw: unknown): StoredCliAuthConfig | null;