import { type ReactNode } from 'react';
export interface PostHogConfig {
    /** PostHog API key. When falsy, PostHog is disabled and the provider is a no-op. */
    apiKey?: string;
    /** PostHog ingestion host. Defaults to 'https://us.i.posthog.com'. */
    host?: string;
    /** Enable debug mode (logs PostHog internals to the console). */
    debug?: boolean;
}
export declare function getPostHogInstance<TClient = unknown>(): TClient | null;
export declare function PostHogProvider({ children, config, }: {
    children: ReactNode;
    config?: PostHogConfig;
}): import("react").JSX.Element;
