import type { LuciaUser, LuciaDatabaseUserAttributes } from "../lucia.js"; import type { Auth, Key } from "lucia"; export declare class ProviderUserAuth<_Auth extends Auth = Auth> { private auth; private providerId; private providerUserId; constructor(auth: _Auth, providerId: string, providerUserId: string); getExistingUser: () => Promise | null>; createKey: (userId: string) => Promise; createUser: (options: { userId?: string; attributes: LuciaDatabaseUserAttributes<_Auth>; }) => Promise>; } export declare const providerUserAuth: <_Auth extends Auth = Auth>(auth: _Auth, providerId: string, providerUserId: string) => ProviderUserAuth<_Auth>;