import { LoginSessionInsert, LoginSessionState } from "@authhero/adapter-interfaces"; import { Kysely } from "kysely"; import { Database } from "../db"; export declare function create(db: Kysely): (tenant_id: string, login: LoginSessionInsert) => Promise<{ csrf_token: string; authParams: { client_id: string; act_as?: string | undefined; response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined; response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined; redirect_uri?: string | undefined; audience?: string | undefined; organization?: string | undefined; state?: string | undefined; nonce?: string | undefined; scope?: string | undefined; prompt?: string | undefined; code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined; code_challenge?: string | undefined; username?: string | undefined; ui_locales?: string | undefined; max_age?: number | undefined; acr_values?: string | undefined; claims?: { userinfo?: Record | undefined; id_token?: Record | undefined; } | undefined; vendor_id?: string | undefined; }; expires_at: string; state: LoginSessionState; id: string; created_at: string; updated_at: string; auth0Client?: string | undefined; deleted_at?: string | undefined; ip?: string | undefined; useragent?: string | undefined; session_id?: string | undefined; authorization_url?: string | undefined; state_data?: string | undefined; failure_reason?: string | undefined; user_id?: string | undefined; auth_connection?: string | undefined; auth_strategy?: { strategy: string; strategy_type: string; } | undefined; authenticated_at?: string | undefined; }>;