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 };
