UNPKG

autumn-js

Version:
36 lines (33 loc) 688 B
import { AuthResult } from './utils/AuthFunction.js'; import { Elysia } from 'elysia'; declare function autumnHandler(options: { identify: (context: any) => AuthResult | Promise<AuthResult>; version?: string; secretKey?: string; url?: string; }): (app: Elysia) => Elysia<"", { decorator: {}; store: {}; derive: {}; resolve: {}; }, { typebox: {}; error: {}; }, { schema: {}; standaloneSchema: {}; macro: {}; macroFn: {}; parser: {}; }, {}, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; }>; export { autumnHandler };