import express from 'express'; import * as t from 'io-ts'; import { HttpRoute, HttpToKeyStatus, ResponseType } from '@api-ts/io-ts-http'; export declare type KeyedResponseType = { [Key in keyof R['response'] & keyof HttpToKeyStatus]: { type: HttpToKeyStatus[Key]; payload: t.TypeOf; }; }[keyof R['response'] & keyof HttpToKeyStatus]; export declare type ResponseEncoder = (route: HttpRoute, serviceFnResponse: ResponseType) => express.RequestHandler; export declare const defaultResponseEncoder: ResponseEncoder; //# sourceMappingURL=response.d.ts.map