import * as _intlayer_backend0 from "@intlayer/backend";

//#region src/hooks/useUser/index.d.ts
declare const useUser: () => {
  isAuthenticated: boolean;
  isUnauthenticated: boolean;
  user: {
    name: string;
    createdAt: Date;
    updatedAt: Date;
    email: string;
    emailVerified: boolean;
    image?: string;
    phone?: string;
    dateOfBirth?: Date;
    id: string;
    emailsList?: {
      newsLetter: boolean;
    };
    customerId?: string;
    role?: string;
    lastLoginMethod?: "email" | "google" | "github" | "passkey";
    lang?: string;
  };
  revalidateSession: () => Promise<_intlayer_backend0.SessionAPI | null | undefined>;
  logout: () => Promise<void>;
};
//#endregion
export { useUser };
//# sourceMappingURL=index.d.ts.map