import { type ReactNode } from "react"; export interface IsomorphicTestConfig { /** Required `children` for successful render. */ children?: ReactNode; /** Whether to test `className`. */ className?: boolean; /** Required `props` for successful render. */ props?: Record; /** Whether to skip this component entirely. */ skip?: boolean; } export interface GenerateIsomorphicTestsOptions { /** * Exclude these exports from being tested. * * @default [] */ excludedSymbols?: string[]; /** * Whether to try and detect and test function components. * * @default true */ testFunctionComponents?: boolean; } /** * Tests that each ComponentClass in Components can be isomorphically rendered on the server. * * @param Components Namespace import of all components to test. * @param config Configuration per component. This is a mapped type supporting all keys in Components. * @param options Test generator options. */ export declare function generateIsomorphicTests(Components: T, config?: { [P in keyof T]?: IsomorphicTestConfig; }, options?: GenerateIsomorphicTestsOptions): void;