/** Callback returned by {@link useTrackEvent}. */
export type TrackEventFn = (eventName: string, properties?: Record<string, unknown>) => void;
/**
 * Returns a stable callback that emits a custom analytics event through the
 * V4 batch pipeline.
 *
 * Null-safe: when there is no surrounding <SearchProvider> (so no
 * TrackContext), the callback is a no-op — nothing to emit against. When a
 * context is present the call delegates to `trackCustomEvent`, which stamps
 * tenant context and throws on an empty name or a name that collides with a
 * reserved built-in event (a developer error worth surfacing).
 */
export declare function useTrackEvent(): TrackEventFn;
//# sourceMappingURL=useTrackEvent.d.ts.map