UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

13 lines (12 loc) 521 B
import { Auth } from "../types/auth.mjs"; import "../types/index.mjs"; import * as http0 from "http"; import { IncomingHttpHeaders } from "node:http"; //#region src/integrations/node.d.ts declare const toNodeHandler: (auth: { handler: Auth["handler"]; } | Auth["handler"]) => (req: http0.IncomingMessage, res: http0.ServerResponse) => Promise<void>; declare function fromNodeHeaders(nodeHeaders: IncomingHttpHeaders): Headers; //#endregion export { fromNodeHeaders, toNodeHandler }; //# sourceMappingURL=node.d.mts.map