UNPKG

better-auth

Version:

The most comprehensive authentication library for TypeScript.

18 lines (15 loc) 610 B
import * as http from 'http'; import { IncomingHttpHeaders } from 'http'; import { n as Auth } from '../shared/better-auth.DdmVKCUf.js'; import '../shared/better-auth.Bi8FQwDD.js'; import 'zod'; import '../shared/better-auth.Da_FnxgM.js'; 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 };