import { UserInfo } from "../../types"; export declare const locale: string; export declare const websiteId: string; export declare const defaultAreaCode: string; export declare const getSSOV2ApiUrl: (path: string) => string; export declare const getSSOApiUrl: (path: string) => string; export declare const BEARER_TOKEN_COOKIE = "hhg_user_token"; export type ReturnType = { _status: number; _messages: string[]; _data: T | null; code?: string; }; export declare const fetchSSOV2Api: (path: string, options?: RequestInit, noAuth?: boolean) => Promise>; /** JSON body (e.g. WhatsApp login-otp / verify-code); omits FormData-only ga/referrer append. */ export declare const fetchSSOV2ApiJson: (path: string, body: Record, noAuth?: boolean) => Promise>; export declare const fetchSSOApi: (path: string, options?: RequestInit, noAuth?: boolean) => Promise>; export declare const resetPassword: (password: string, confirmPassword: string) => Promise>; export declare const checkUserExist: ({ email, phone, }: { email?: string; phone?: string; }) => Promise>; export declare const updateUserInfo: (data: { name?: string; birthday?: string; email?: string; password?: string; confirm_password?: string; phone_number?: string; area_code?: string; gender?: number; validate?: string; source?: string; }) => Promise>; export type LoggedInResponseType = { is_status: string; provider: string; token_type: string; token: string; refresh_token: string; expire_in: number; }; export declare const GoogleAuthClientId: string; export declare const FacebookAppId = "2759888574045636"; export declare const getUserInfo: () => Promise>; export declare const handleAuthSuccess: (res: LoggedInResponseType) => void;