import React from 'react'; import type { AIAgentContextAPI, AIAgentContextValue } from "./types.js"; declare const AIAgentContext: React.Context | null>; /** Raw context — internal use only, not exported from the package. */ export { AIAgentContext as _AIAgentContext }; /** * Provider that manages the AI data registry. * Wrap your app or chat area with this to enable AIData collection. */ export declare function AIAgentContextProvider({ children }: { children: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Hook for consumers to access registered AI data. * Returns { getData } where getData() returns the current list of all entries. * If no AIAgentContextProvider exists above, getData() returns []. * * Generic `T` is the **expected** shape of `data` for this consumer — not validated * or guaranteed at runtime. The registry is populated by arbitrary `AIData` * registrations; entries may not match `T`. */ export declare function useAIAgentContext(): AIAgentContextAPI;