import { IRawProperty } from '../property/IRawProperty'; import { Parameters } from './configuration/Parameters'; import { RunDetails } from './reporter/RunDetails'; import { IAsyncProperty } from '../property/AsyncProperty'; import { IProperty } from '../property/Property'; /** * Run the property, do not throw contrary to {@link assert} * * WARNING: Has to be awaited * * @param property - Asynchronous property to be checked * @param params - Optional parameters to customize the execution * * @returns Test status and other useful details * * @public */ declare function check(property: IAsyncProperty, params?: Parameters): Promise>; /** * Run the property, do not throw contrary to {@link assert} * * @param property - Synchronous property to be checked * @param params - Optional parameters to customize the execution * * @returns Test status and other useful details * * @public */ declare function check(property: IProperty, params?: Parameters): RunDetails; /** * Run the property, do not throw contrary to {@link assert} * * WARNING: Has to be awaited if the property is asynchronous * * @param property - Property to be checked * @param params - Optional parameters to customize the execution * * @returns Test status and other useful details * * @public */ declare function check(property: IRawProperty, params?: Parameters): Promise> | RunDetails; /** * Run the property, throw in case of failure * * It can be called directly from describe/it blocks of Mocha. * It does not return anything in case of success. * * WARNING: Has to be awaited * * @param property - Asynchronous property to be checked * @param params - Optional parameters to customize the execution * * @public */ declare function assert(property: IAsyncProperty, params?: Parameters): Promise; /** * Run the property, throw in case of failure * * It can be called directly from describe/it blocks of Mocha. * It does not return anything in case of success. * * @param property - Synchronous property to be checked * @param params - Optional parameters to customize the execution * * @public */ declare function assert(property: IProperty, params?: Parameters): void; /** * Run the property, throw in case of failure * * It can be called directly from describe/it blocks of Mocha. * It does not return anything in case of success. * * WARNING: Has to be awaited if the property is asynchronous * * @param property - Property to be checked * @param params - Optional parameters to customize the execution * * @public */ declare function assert(property: IRawProperty, params?: Parameters): Promise | void; export { check, assert };