import { type JSX, type ReactElement } from "react"; export interface IComponentMock { id: string; selector: string; component: (props: T) => ReactElement; componentWithProps: (mapProps: (props: T) => JSX.IntrinsicElements["div"]) => (props: T) => ReactElement; } /** * Creates a placeholder component & selector from the string. * Useful to avoid duplicity & hardcoded selectors in tests, when mocking components * * @param id - component id */ export declare function componentMock(id?: string): IComponentMock; //# sourceMappingURL=testUtils.d.ts.map