export { Lucia } from "./core.js"; export { Scrypt, LegacyScrypt, generateId } from "./crypto.js"; export { TimeSpan } from "oslo"; export { Cookie } from "oslo/cookie"; export { verifyRequestOrigin } from "oslo/request"; export type { User, Session, SessionCookieOptions, SessionCookieAttributesOptions } from "./core.js"; export type { DatabaseSession, DatabaseUser, Adapter } from "./database.js"; export type { PasswordHashingAlgorithm } from "./crypto.js"; export type { CookieAttributes } from "oslo/cookie"; import type { Lucia } from "./core.js"; export interface Register {} export type RegisteredLucia = Register extends { Lucia: infer _Lucia; } ? _Lucia extends Lucia ? _Lucia : Lucia : Lucia; export type RegisteredDatabaseUserAttributes = Register extends { DatabaseUserAttributes: infer _DatabaseUserAttributes; } ? _DatabaseUserAttributes : {}; export type RegisteredDatabaseSessionAttributes = Register extends { DatabaseSessionAttributes: infer _DatabaseSessionAttributes; } ? _DatabaseSessionAttributes : {}; export type RegisteredDatabaseProfileAttributes = Register extends { DatabaseProfileAttributes: infer _DatabaseProfileAttributes; } ? _DatabaseProfileAttributes : {};