import 'should'; /** * @typedef SpyCallInfo Information about spy call * @property {any} returnValue Call return value * @property {any[]} args Call arguments */ /** * Retrieves information about calls with matched args from a sinon spy * @param {Function} spy Sinon stub or spy * @param {Array} args Expected call arguments * @returns {SpyCallInfo[]} Calls information * @throws If failed to retrieve */ export declare function getCallsWithMatch(spy: any, ...args: any[]): any[]; /** * Retrieves information about calls with deep equal args from a sinon spy * @param {Function} spy Sinon stub or spy * @param {Array} args Expected call arguments * @returns {SpyCallInfo[]} Calls information * @throws If failed to retrieve */ export declare function getCallsWithExactly(spy: any, ...args: any[]): any[];