import { ReactElement } from 'react'; import { i18n } from 'i18next'; import { RenderResult } from '@testing-library/react'; import { PreloadedState } from 'redux'; import { ReduxState, VerificationService } from '../../src/lib/types/types'; import { DeepPartial } from '../../src/lib/types/helpers'; /** * A utility type for testing passing test data to the redux store. */ export type PartialRootState = DeepPartial>; export declare const createTestStore: (storeProto?: PartialRootState) => import('redux').Store; type RenderOptions = { preloadedState?: PartialRootState; locale?: string; messages?: Record; i18next?: i18n; }; export declare const buildRenderOptions: (verificationService: VerificationService) => Promise; export declare const render: (ui: ReactElement, options?: RenderOptions) => RenderResult; declare class S { result: any; messages: {}; render(component: any): any; getRenderOutput(): any; } export declare const ShallowCompat: { createRenderer: () => S; }; export declare const toEventObject: (value: string | number) => { target: { value: string | number; }; }; export {};