import 'vitest'; import type { TMat2D } from './src/typedefs'; import type { CloneDeepWithCustomizer } from 'lodash'; type ObjectOptions = ExtendedOptions & { includeDefaultValues?: boolean; }; type ExtendedOptions = { cloneDeepWith?: CloneDeepWithCustomizer; } & object; interface CustomMatchers { toMatchSnapshot(propertiesOrHint?: ExtendedOptions, hint?: string): R; toMatchObjectSnapshot(propertiesOrHint?: ObjectOptions, hint?: string): R; toEqualRoundedMatrix(expected: TMat2D, precision?: number): R; } declare module 'vitest' { interface Assertion extends CustomMatchers {} interface AsymmetricMatchersContaining extends CustomMatchers {} }