import type { DebugOptions } from './helpers/debug'; /** * Global configuration options for React Native Testing Library. */ export type Config = { /** Default timeout, in ms, for `waitFor` and `findBy*` queries. */ asyncUtilTimeout: number; /** Default value for `includeHiddenElements` query option. */ defaultIncludeHiddenElements: boolean; /** * Warn when `fireEvent` or a `userEvent` interaction calls no handler, because the target * is disabled, blocked by `pointerEvents`, or no element handles the event. Off by default. */ eventDiagnostics: boolean; /** Default options for `debug` helper. */ defaultDebugOptions?: Partial; }; export type ConfigAliasOptions = { /** RTL-compatibility alias to `defaultIncludeHiddenElements` */ defaultHidden: boolean; }; /** * Configure global options for React Native Testing Library. */ export declare function configure(options: Partial): void; export declare function resetToDefaults(): void; export declare function getConfig(): { /** Default timeout, in ms, for `waitFor` and `findBy*` queries. */ asyncUtilTimeout: number; /** Default value for `includeHiddenElements` query option. */ defaultIncludeHiddenElements: boolean; /** * Warn when `fireEvent` or a `userEvent` interaction calls no handler, because the target * is disabled, blocked by `pointerEvents`, or no element handles the event. Off by default. */ eventDiagnostics: boolean; /** Default options for `debug` helper. */ defaultDebugOptions?: Partial; };