autumn-js
Version:
Autumn JS Library
14 lines (11 loc) • 362 B
TypeScript
import { AuthResult } from './utils/AuthFunction.js';
declare function autumnHandler(options: {
identify: (request: any) => AuthResult;
url?: string;
secretKey?: string;
suppressLogs?: boolean;
}): {
GET: (request: any, response?: any) => Promise<any>;
POST: (request: any, response?: any) => Promise<any>;
};
export { autumnHandler };