import { default as mixpanelType } from 'mixpanel-browser';
import { Context } from 'react';
import { default as googleAnalyticsType } from 'react-ga4';
export declare enum App {
    WEBSITE = "graph-website",
    BLOG = "graph-blog",
    DOCS = "graph-docs",
    EXPLORER = "graph-explorer",
    SUBGRAPH_STUDIO = "subgraph-studio",
    HOSTED_SERVICE = "hosted-service"
}
export interface AnalyticsContextValue {
    /** Which app is this? */
    app: App | null;
    /** Mixpanel SDK instance. */
    mixpanel: typeof mixpanelType | null;
    /** Google Analytics SDK instance (from `react-ga4`). */
    googleAnalytics: typeof googleAnalyticsType | null;
    /**
     * Whether the user has consented to analytics cookies.
     * - `true` means the user consented to all cookies, including analytics ones.
     * - `false` means the user only consented to essential cookies, excluding analytics ones.
     * - `null` means the user hasn't yet stated their preference.
     */
    hasConsent: boolean | null;
    /** Set the user's consent to all cookies, including analytics ones (`false` = only essential ones). */
    setConsent: (consent: boolean) => void;
}
export interface AnalyticsContext extends Context<AnalyticsContextValue> {
    defaultValue: AnalyticsContextValue;
}
export declare const AnalyticsContext: AnalyticsContext;
//# sourceMappingURL=AnalyticsContext.d.ts.map