import * as React from 'react'; import type { RefObject } from './types'; export type RenderHookResult = { result: RefObject; rerender: (props: Props) => Promise; unmount: () => Promise; }; export type RenderHookOptions = { /** * The initial props to pass to the hook. */ initialProps?: Props; /** * Pass a React Component as the wrapper option to have it rendered around the inner element. This is most useful for creating * reusable custom render functions for common data providers. */ wrapper?: React.ComponentType; }; export declare function renderHook(hookToRender: (props: Props) => Result, options?: RenderHookOptions>): Promise>;