import type { ComponentType } from 'react'; import type { Slice } from './renderer.js'; import { type UseRendererResult } from './useRenderer.js'; export type ReactContextRendererProps = Readonly<{ context: C; original: O; }>; export type WebComponentContextRenderer = (root: HTMLElement, original: O, context: C) => void; export declare function convertContextRendererArgs([original, context]: Slice>, 1>): ReactContextRendererProps; export declare function useContextRenderer(reactRenderer?: ComponentType> | null): UseRendererResult>; //# sourceMappingURL=useContextRenderer.d.ts.map