UNPKG

autumn-js

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