UNPKG

better-auth

Version:

The most comprehensive authentication library for TypeScript.

19 lines (16 loc) 625 B
import * as http from 'http'; import { IncomingHttpHeaders } from 'http'; import { n as Auth } from '../shared/better-auth.SKjGCdIB.js'; import '../shared/better-auth.Bi8FQwDD.js'; import 'zod'; import '../shared/better-auth.BTuiucL9.js'; 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 };