import { type ComponentType, type ReactElement } from "react"; import type { NativeViewPresentationMode } from "./native-view-presentation-surface.js"; import type { NativeViewRecord, NativeViewRecordController } from "./native-view-record-controller.js"; export type NativeViewHostProjectionProps = { controller: NativeViewRecordController; onInvalidMessage?: (error: Error, value: unknown) => void; nativeViewComponent?: ComponentType>; presentationMode?: NativeViewPresentationMode; webViewComponent?: ComponentType>; }; export type NativeViewProjection = Readonly & { key: number; }>; export declare function NativeProjectedViewContent({ controller, onInvalidMessage, presentationMode, record, webViewComponent, }: { controller: NativeViewRecordController; onInvalidMessage?: (error: Error, value: unknown) => void; presentationMode?: NativeViewPresentationMode; record: NativeViewRecord; webViewComponent?: ComponentType>; }): ReactElement; export declare function NativeViewHostProjection({ controller, nativeViewComponent, onInvalidMessage, presentationMode, webViewComponent, }: NativeViewHostProjectionProps): ReactElement;