import { ConstantValidator } from './composite/constant'; import { GetKeyTaggedUnionCast, GetKeyTaggedUnionSrc } from './composite/key-tagged-union'; import { GetPropsCast, GetPropsSrc } from './composite/object'; import { GetOneOfCast, GetOneOfSrc } from './composite/one-of'; import { GetTaggedUnionCast, GetTaggedUnionSrc } from './composite/tagged-union'; import { GetCastType, GetSrcType, Validator } from './interface'; export declare function object | undefined>>(props: Props): Validator, GetPropsSrc>; export declare function record, V extends Validator>(key: K, value: V): Validator, GetCastType>, Record, GetSrcType>>; export declare function taggedUnion>>(field: F, variants: U): Validator, GetTaggedUnionSrc>; export declare function keyTaggedUnion>>(variants: U): Validator, GetKeyTaggedUnionSrc>; export declare function tuple>(t: T): Validator<[GetCastType], [GetSrcType]>; export declare function tuple, T2 extends Validator>(t1: T1, t2: T2): Validator<[GetCastType, GetCastType], [GetSrcType, GetSrcType]>; export declare function tuple, T2 extends Validator, T3 extends Validator>(t1: T1, t2: T2, t3: T3): Validator<[GetCastType, GetCastType, GetCastType], [GetSrcType, GetSrcType, GetSrcType]>; export declare function array>(item: V): Validator[], GetSrcType[]>; export declare function option>(item: V): Validator | undefined, GetSrcType | undefined | null>; export declare function nullable>(item: V): Validator | null, GetSrcType | null>; export declare function withSentinel>(label: string, value: GetCastType, validator: V): Validator, GetSrcType | undefined | null>; export declare function withDefault>(value: GetCastType, validator: V): Validator, GetSrcType | undefined | null>; export declare function ref>(get: () => V): Validator, GetSrcType>; export declare function oneOf

>>(patterns: P): Validator, GetOneOfSrc

>; export declare function constant(value: T, equals?: (a: unknown, b: T) => boolean): ConstantValidator; export declare function cast>(validator: V, value: unknown): GetCastType; export declare function assertValidity>(validator: V, value: unknown): asserts value is GetSrcType; //# sourceMappingURL=dsl.d.ts.map