/** * Jest Setup Helper Utility * Provides common Jest configuration patterns used across setup files */ /** * Configures Jest global settings with safe method checking * This replaces the common pattern of manual jest method validation * * @param jestRef - Jest reference (global or from @jest/globals) * @param timeout - Optional timeout value in milliseconds (default: 10000) */ export declare function configureJestGlobals(jestRef: any, timeout?: number): void; /** * Safely clears all Jest mocks with method validation * This replaces the common pattern of manual jest method validation * * @param jestRef - Jest reference (global or from @jest/globals) */ export declare function clearJestMocks(jestRef: any): void; /** * Gets Jest reference safely from multiple sources * @param globalJest - Global jest reference * @param jestFromGlobals - Jest from @jest/globals * @returns Safe Jest reference or null */ export declare function getJestRef(globalJest: any, jestFromGlobals: any): any; //# sourceMappingURL=jestSetupHelper.d.ts.map