/** * @ignore * @packageDocumentation */ import * as t from 'io-ts'; import { Either } from 'fp-ts/lib/Either'; export declare type TypeRecord = Record; export declare type TRErrors = { [key in keyof TR]: t.Errors; }; export declare type TROutput = { [key in keyof TR]: t.TypeOf; }; export declare type ComposedType = (value: unknown) => Either, TROutput>; /** A composed type, like `t.type` but where the errors are not falttened */ export declare function composedType(record: TR): ComposedType;