UNPKG

autumn-js

Version:

Autumn JS Library

11 lines (8 loc) 405 B
import * as hono from 'hono'; import { Context, Next } from 'hono'; import { AuthResult } from './utils/AuthFunction.mjs'; declare const autumnHandler: <ContextType extends Context = Context>(options: { identify: (c: ContextType) => AuthResult; version?: string; }) => (c: Context, next: Next) => Promise<(Response & hono.TypedResponse<any, any, "json">) | undefined>; export { autumnHandler };