/** * **This module is experimental** * * Experimental features are published in order to get early feedback from the community, see these tracking * [issues](https://github.com/gcanti/io-ts/issues?q=label%3Av2.2+) for further discussions and enhancements. * * A feature tagged as _Experimental_ is in a high state of flux, you're at risk of it changing without notice. * * @since 2.2.0 */ import { HKT, URIS, Kind } from 'fp-ts/es6/HKT'; import { Schemable, Schemable1 } from './Schemable'; /** * @category model * @since 2.2.0 */ export interface Schema { (S: Schemable): HKT; } /** * @category constructors * @since 2.2.0 */ export declare function make(schema: Schema): Schema; /** * @since 2.2.0 */ export declare type TypeOf = S extends Schema ? A : never; /** * @since 2.2.3 */ export declare function interpreter(S: Schemable1): (schema: Schema) => Kind;