import { type ReactNode } from 'react'; import { type GenerativeUIFallback, type GenuiProviderProps } from '../../react/core/genui/generative-ui.js'; import type { GenuiActionHandler } from './sandbox.js'; /** The item's persisted text, as a `` — the web default draws a ``, which RN cannot. */ export declare const nativeGenuiFallback: GenerativeUIFallback; /** * `GenuiProvider` for React Native: the same provider (the same shared contexts — `GenerativeUI` * and `useGenerativeUI` read it as on the web), with `fallback` defaulting to * {@link nativeGenuiFallback} so an unknown or failing component never draws a DOM element. */ export declare function GenuiProvider({ fallback, ...props }: GenuiProviderProps): import("react").JSX.Element; /** Where UI actions go — a sandbox's `agent.send(…)`. Typically the chat's `sendUiAction`. */ export declare function GenuiActionProvider({ onAction, children, }: { onAction: GenuiActionHandler; children?: ReactNode; }): import("react").JSX.Element; /** The enclosing {@link GenuiActionProvider}'s handler, or `null` outside one. */ export declare function useGenuiAction(): GenuiActionHandler | null; //# sourceMappingURL=provider.d.ts.map