/** * Method Spying Functions * * This module provides spying capabilities to track method calls * without replacing functionality. */ import * as sinon from 'sinon'; /** * Create a spy on a method to track calls without replacing functionality * * @param data - Input data containing object and methodName * @returns Result object containing spy instance */ export declare function spyOnMethod(data: { obj: any; methodName: string; }): { spy: sinon.SinonSpy; }; /** * Create a spy on a function without modifying the original * * @param data - Input data containing function to spy on * @returns Result object containing spy instance */ export declare function spyOnFunction any>(data: { fn: T; }): { spy: sinon.SinonSpy; }; //# sourceMappingURL=spying.d.ts.map