import { AuthRequest, UserRole, AuthError } from '../types'; export declare function createAuthorizeMiddleware(roles: UserRole[], onError?: (error: AuthError, req: TRequest, res: TResponse) => void): (req: TRequest, res: TResponse, next: () => void) => void; //# sourceMappingURL=authorize.d.ts.map