import * as plugins from './typedrequest.plugins.js'; export declare type THandlerFunction = (requestArg: T['request']) => Promise; /** * typed handler for dealing with typed requests */ export declare class TypedHandler { method: string; private handlerFunction; constructor(methodArg: T['method'], handlerFunctionArg: THandlerFunction); /** * adds a response to the typedRequest * @param typedRequestArg */ addResponse(typedRequestArg: T): Promise; }