import { AssertionFailed } from './errors'; import { Result } from 'defekt'; declare type Assertion = (actual: TValue, ...rest: TParams) => Result; declare const wrapAssertionForIterable: (assertion: Assertion) => Assertion | Map | TValue[], TParams>; declare type AsyncAssertion = (actual: TValue, ...rest: TParams) => Promise>; declare const wrapAsyncAssertionForIterable: (assertion: AsyncAssertion) => AsyncAssertion | Map | TValue[], TParams>; export { wrapAssertionForIterable, wrapAsyncAssertionForIterable };