import type { AIDataProps } from "./types.js"; /** * Hook to register data in the AI agent context. * * Registration happens in `useEffect`, so `getData()` is only meaningful * **after mount** of components that register data. Do not call `getData()` * synchronously during render or in `useLayoutEffect` in the same commit. * * Uses a ref + getter pattern: the registry stores `() => propsRef.current` * so `getData()` always reads the latest props without re-registering on every render. */ export declare function useProvideAIData(props: AIDataProps): void; /** * Component that registers data in the AI agent context. * Pure side-effect — renders nothing. */ export declare function AIData(props: AIDataProps): null;