/** * Global tracker utility functions * Provides helper functions for accessing the global HumanBehavior tracker instance */ /** * Identifies a user using the global HumanBehavior tracker * @param userProperties - User properties to identify with * @param identityToken - Optional token minted by your backend attesting this user * @returns Promise - The endUserId if successful, null if tracker not found */ export declare function identifyUserGlobally(userProperties: Record, identityToken?: string): Promise | null; /** * Sends an event using the global HumanBehavior tracker. * * Resolves the singleton from window (where the tracker constructor stashes * `this`) with a globalThis fallback so this still works in non-DOM * environments. Calls `customEvent`, which is the SDK's public API for * named events. (Pre-0.7 there was an alias `track`; it was removed when * we unified on `customEvent`.) */ export declare function sendEventGlobally(eventName: string, properties?: Record): Promise | null; /** * Checks if the global HumanBehavior tracker is available * @returns boolean - True if tracker is available */ export declare function isGlobalTrackerAvailable(): boolean; //# sourceMappingURL=global-tracker.d.ts.map