import { HttpMessage } from "@http4t/core/contract"; import { MessageLens, RoutingResult } from "../lenses"; /** * NB: does not _check_ `Content-Type` header when extracting, but does * _set_ it when injecting * * Uses {@link JsonBody} to avoid deserialising twice. */ export declare class JsonLens implements MessageLens { get(message: HttpMessage): Promise>; set(into: SetInto, value: T): Promise; } export declare function json(): MessageLens; //# sourceMappingURL=JsonLens.d.ts.map