import { type ComponentType, type ReactElement } from "react"; import { type CoreWebViewHostConnection } from "./core-webview-host-controller.js"; export type CoreWebViewHostProps = { coreUrl: string; onConnected: (connection: CoreWebViewHostConnection) => void; onActivationRetryExhausted?: (error: Error) => void; onDisconnected?: () => void; onInvalidMessage?: (error: Error, value: unknown) => void; webViewComponent?: ComponentType>; }; export declare function CoreWebViewHost({ coreUrl, ...props }: CoreWebViewHostProps): ReactElement;