/** * `humanbehavior-js/react` - the bundled React integration. * * Binds the shared provider to the recorder that ships inside the customer's * build. This is the entry every existing install resolves to, so its exports * and behavior must not change; `humanbehavior-js/react/auto` is where the * auto-updating variant lives. */ import { HumanBehaviorTracker } from "./browser"; declare const react: { HumanBehaviorContext: import("react").Context; HumanBehaviorProvider: ({ apiKey, client, children, options }: import("./factory").HumanBehaviorProviderProps) => import("react/jsx-runtime").JSX.Element; useHumanBehavior: () => import("./factory").HumanBehaviorInterface | HumanBehaviorTracker; useRedaction: () => { setUnredactedFields: (fields: string[]) => void; hasUnredactedFields: () => boolean; getUnredactedFields: () => string[]; }; useUserTracking: () => { identifyUser: ({ userProperties, identityToken }: import("./factory").IdentifyUserArgs) => Promise<{ success: boolean; error?: undefined; } | { success: boolean; error: unknown; }>; }; HumanBehaviorErrorBoundary: React.ComponentClass; }; export declare const HumanBehaviorProvider: ({ apiKey, client, children, options }: import("./factory").HumanBehaviorProviderProps) => import("react/jsx-runtime").JSX.Element; export declare const useHumanBehavior: () => import("./factory").HumanBehaviorInterface | HumanBehaviorTracker; export declare const useRedaction: () => { setUnredactedFields: (fields: string[]) => void; hasUnredactedFields: () => boolean; getUnredactedFields: () => string[]; }; export declare const useUserTracking: () => { identifyUser: ({ userProperties, identityToken }: import("./factory").IdentifyUserArgs) => Promise<{ success: boolean; error?: undefined; } | { success: boolean; error: unknown; }>; }; export declare const HumanBehaviorErrorBoundary: import("react").ComponentClass; /** * This used to be a class declaration, which made the name usable as a type as * well as a value - `useRef(null)` compiled. Coming * out of a factory it is only a value, so the alias keeps that half of the * existing published surface intact. */ export type HumanBehaviorErrorBoundary = InstanceType; export { captureNextError } from "./factory"; export type { IdentifyUserArgs } from "./factory"; export { HumanBehaviorTracker }; //# sourceMappingURL=index.d.ts.map