import type { PostHog } from '../posthog-rn'; /** * Log an error if the PostHog client is not available. Warns once per unique caller to avoid console spam. * @internal */ export declare function warnIfNoClient(client: PostHog | undefined, caller: string): void; /** @internal Exported for testing only. */ export declare function resetWarnedCallers(): void; /** * Returns the first available PostHog client from arguments or context, correctly typed. Logs an error if no * client is found. This is used internally by hooks that accept an optional client parameter. * @internal */ export declare const useOverridablePostHog: (client: PostHog | undefined, caller: string) => PostHog | undefined;