import { setupFailOnConsole } from "./setupFailOnConsole"; export interface SetupAllMocksOptions { failOnConsoleOptions?: Parameters[0]; } /** * Sets up all available testing mocks in a single function call. * * This convenience function sets up all the test mocks provided by the library: * - Canvas API mocks * - Console error reporting to fail tests (includes automatic CSS parser error suppression) * - Google Maps API and components mocks * - Mapbox GL JS mocks * - React Helmet mocks * - IntersectionObserver mocks * - MatchMedia API mocks * - React Testing Library and Okta authentication mocks * - React Virtualized AutoSizer mocks * - ResizeObserver mocks * - Tanstack React Virtual mocks * - Time and language related mocks (timezone, timers, etc.) * - Translation mocks (i18n) * - Web Streams API mocks * * Using this function is equivalent to calling each setup function individually. * * @param options Configuration options for individual mocks * @param options.failOnConsoleOptions Options for setupFailOnConsole * @example * // In your jest setup file * import { setupAllMocks } from '@trackunit/react-test-setup'; * * setupAllMocks(); * * // Or with options for specific mocks: * setupAllMocks({ * failOnConsoleOptions: { shouldFailOnWarn: true } * }); */ export declare const setupAllMocks: (options?: SetupAllMocksOptions) => void;