• Initialize Lucia.

    Parameters

    • db: any

      The database to use.

    Returns Lucia<
        Record<never, never>,
        {
            id: any;
            username: any;
            name: any;
            email: any;
            authMethods: any;
            avatarUrl: any;
            isVerified: boolean;
            isAdmin: boolean;
            createdAt: string;
            modifiedAt: string;
        },
    >

    The initialized Lucia instance.