import { RequestHandler, Response } from 'express'; import { HandleAuthorizationRequest, HandleAuthentication, HandleIsAuthorized } from '../use-cases/authorization'; declare type AuthorizationHandler = RequestHandler; export declare type MakeHandleAuthentication = (req: Parameters[0], res: Response) => HandleAuthentication; export declare type MakeHandleIsAuthorized = (req: Parameters[0], res: Response) => HandleIsAuthorized; export declare const makeAuthorizationHandler: ({ handleAuthorizationRequest, makeHandleAuthentication, makeHandleIsAuthorized, }: { handleAuthorizationRequest: HandleAuthorizationRequest; makeHandleAuthentication: MakeHandleAuthentication; makeHandleIsAuthorized: MakeHandleIsAuthorized; }) => { authorizationHandler: AuthorizationHandler; }; export {};