better-auth
Version:
The most comprehensive authentication library for TypeScript.
18 lines (15 loc) • 613 B
text/typescript
import * as http from 'http';
import { IncomingHttpHeaders } from 'http';
import { n as Auth } from '../shared/better-auth.CdTbMvS8.mjs';
import '../shared/better-auth.Bi8FQwDD.mjs';
import 'zod';
import '../shared/better-auth.CgpCaX93.mjs';
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 };