import type { MatcherContext } from 'expect'; import type { ErrorClass } from '../types/jest'; export declare const toThrowType: (this: MatcherContext, received: (() => unknown | Promise) | Promise, errorType: ErrorClass, validator?: (error: E) => void) => Promise; //# sourceMappingURL=errorMatchers.d.ts.map