///
import * as t from 'io-ts';
import { Stream } from 'stream';
import { Either, Right } from 'fp-ts/lib/Either';
export declare const Integer: t.Type;
export declare const ReadStream: t.Type;
export declare function ensureRight(e: Either): asserts e is Right;
export declare function readStreamToString(s: Stream): Promise;
export declare const CommaSeparatedString: t.Type;
export declare function commaSeparated>(decoder: T): t.Type[], string, unknown>;
export declare function flattened>(decoder: T): t.Type, string[], unknown>;