/** * Central registry for managing state across the test adapter * * This module provides a centralized place to store and manage state that was previously * scattered across multiple files as global variables. This includes: * - Mock functions and spies * - Module mocks * - Current test context * - Retry counts * - Only mode tracking */ export declare const mockRegistry: { registerMock: (mock: any) => any; registerSpy: (spy: any, object: any, methodName: string, original: any, accessType?: string) => any; clearAllMocks: () => void; resetAllMocks: () => void; restoreAllMocks: () => void; isMockFunction: (fn: any) => any; }; export declare const moduleRegistry: { registerMockedModule: (moduleName: string, mockContext: any) => any; getMockedModule: (moduleName: string) => any; hasMockedModule: (moduleName: string) => boolean; unmockModule: (moduleName: string) => void; resetAllModules: () => void; cacheModule: (moduleName: string, module: any) => void; getCachedModule: (moduleName: string) => any; }; export declare const testContextRegistry: { setCurrentTestContext: (context: any) => void; getCurrentTestContext: () => any; }; export declare const retryRegistry: { setGlobalRetryCount: (count: number) => void; getCurrentRetryCount: () => number; pushDescribeBlock: (name: string) => void; popDescribeBlock: () => void; }; export declare const filterRegistry: { setOnlyMode: (enabled: boolean) => void; isOnlyMode: () => boolean; };