import { AuthResult } from './utils/AuthFunction.js';

declare function autumnHandler(options: {
    secretKey?: string;
    identify: (args: {
        request: Request;
        params: Record<string, string>;
    }) => AuthResult;
    version?: string;
}): {
    loader: (args: any) => Promise<Response>;
    action: (args: any) => Promise<Response>;
};

export { autumnHandler };
