UNPKG

better-auth

Version:

The most comprehensive authentication library for TypeScript.

19 lines (16 loc) 628 B
import * as http from 'http'; import { IncomingHttpHeaders } from 'http'; import { n as Auth } from '../shared/better-auth.BYzIQdrU.cjs'; import '../shared/better-auth.Bi8FQwDD.cjs'; import 'zod'; import '../shared/better-auth.Dz9w_OUB.cjs'; import 'jose'; import 'kysely'; import 'better-call'; import 'better-sqlite3'; import 'bun:sqlite'; declare const toNodeHandler: (auth: { handler: Auth["handler"]; } | Auth["handler"]) => (req: http.IncomingMessage, res: http.ServerResponse) => Promise<void>; declare function fromNodeHeaders(nodeHeaders: IncomingHttpHeaders): Headers; export { fromNodeHeaders, toNodeHandler };