import { TestInstance } from './types.js'; export interface Config { /** * WARNING: `unstable` prefix means this API may change in patch and minor releases. * @param cb */ unstable_advanceTimersWrapper: (cb: (...args: Array) => unknown) => unknown; asyncUtilTimeout: number; renderAwaitTime: number; errorDebounceTimeout: number; showOriginalStackTrace: boolean; throwSuggestions: boolean; getInstanceError: (message: string | null, container: TestInstance) => Error; } export interface ConfigFn { (existingConfig: Config): Partial; } type Callback = () => T; export declare function runWithExpensiveErrorDiagnosticsDisabled(callback: Callback): T; export declare function configure(newConfig: ConfigFn | Partial): void; export declare function getConfig(): Config; export {};