import type { Strategy, Request } from "./"; interface OAUTH2 { type: 'OAUTH2'; redirect_url: string; } interface Callback { type: 'Callback'; isSuccess: boolean; } type AuthenticateReturn = OAUTH2 | Callback; export declare const authenticate: (strategy: Strategy) => (req: Request) => Promise; export {};