import * as t from 'io-ts'; export declare function validateOrThrow(decoder: t.Decoder): (value: any) => T;