/** * `humanbehavior-js/react/auto` - the auto-updating React integration. * * Identical surface to `humanbehavior-js/react`, except the recorder is fetched * from the CDN at runtime instead of bundled, so a recorder we publish reaches * the customer's users on their next page load with no reinstall. * * Nothing here may import `humanbehavior-js`: that would pull the recorder back * into the customer's build and defeat the point. `tests/no-recorder-in-auto-bundle` * in the package's unit tests fails the build if it ever creeps back in. */ import { HumanBehaviorTracker } from "@humanbehavior/loader"; 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 | import("humanbehavior-js").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 | import("humanbehavior-js").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; /** Matches the bundled entry, where this name works as a type as well. */ export type HumanBehaviorErrorBoundary = InstanceType; export { captureNextError } from "./factory"; export type { IdentifyUserArgs } from "./factory"; export { HumanBehaviorTracker }; //# sourceMappingURL=auto.d.ts.map