export interface MatcherResult { pass: boolean; message: () => string; actual?: unknown; expected?: unknown; } export type MatcherFn = (this: unknown, received: unknown, ...expected: Array) => MatcherResult | Promise; export type MatchersObject = Record;