import Runtype from "./Runtype.js"; type Constructor = { new (...args: never[]): V; }; /** * Validates that a value is an instance of the given class. * * Possible failures: * * - `TYPE_INCORRECT` if `instanceof` was `false` * - `INSTANCEOF_FAILED` if `instanceof` threw (per `Symbol.hasInstance`) */ interface InstanceOf extends Runtype { tag: "instanceof"; ctor: Constructor; } declare const InstanceOf: (ctor: Constructor) => InstanceOf; export default InstanceOf;