import React from 'react';
import { UserResponseV3 } from '@accelbyte/sdk-iam';

interface UserProfileNavProps {
    onLogout: () => void;
    showMenu: boolean;
    onClick: () => void;
    userDropdownMenus?: {
        pathname: string;
        icon?: React.ReactNode;
        label: React.ReactNode;
        isWithDivider?: boolean;
    }[];
}

interface LoginWidgetProps extends Omit<UserAccountProps, 'user'> {
    onUpdateUser?: (user: UserResponseV3 | null) => void;
    returnPath?: string;
}
declare function LoginWidget({ onLogout, returnPath, isDisableUsername, userDropdownMenus }: LoginWidgetProps): JSX.Element;
interface UserAccountProps {
    userDropdownMenus: UserProfileNavProps['userDropdownMenus'];
    user: UserResponseV3;
    onLogout?: () => void;
    isDisableUsername?: boolean;
}

export { LoginWidgetProps as L, LoginWidget as a };
