UNPKG

@zpg6-test-pkgs/better-auth

Version:

The most comprehensive authentication library for TypeScript.

21 lines (18 loc) 664 B
import * as http from 'http'; import { IncomingHttpHeaders } from 'http'; import { p as Auth } from '../shared/better-auth.p_7brNZN.js'; import 'kysely'; import 'better-call'; import 'zod/v4'; import '../shared/better-auth.DTtXpZYr.js'; import '../shared/better-auth.Duv5fZ_i.js'; import 'jose'; import 'zod/v4/core'; import 'zod'; 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 };