import { Chain } from "./types"; declare type Predicate = (value: T) => boolean; declare type TypePredicate = (value: unknown) => value is T; /** * Creates condition checking chain from predicate * @param predicate * @param error */ export declare function check(predicate: Predicate, error: E): Chain; /** * Creates type checking chain from type predicate * @param predicate * @param error */ export declare function typeCheck(predicate: TypePredicate, error: E): Chain; export {};