UNPKG

573 BTypeScriptView Raw
1import { interfaces } from "../interfaces/interfaces";
2declare const traverseAncerstors: (request: interfaces.Request, constraint: interfaces.ConstraintFunction) => boolean;
3declare const taggedConstraint: (key: string | number | symbol) => (value: unknown) => interfaces.ConstraintFunction;
4declare const namedConstraint: (value: unknown) => interfaces.ConstraintFunction;
5declare const typeConstraint: (type: (NewableFunction | string)) => (request: interfaces.Request | null) => boolean;
6export { traverseAncerstors, taggedConstraint, namedConstraint, typeConstraint };