/** * PostHog configuration. * * Environment variables (read at runtime): * AGENT_RELAY_POSTHOG_KEY - PostHog write key. Set by published-artifact * builds via GitHub Actions secret. When unset, * telemetry runs as a no-op so forks, local dev, * and CI test runs don't pollute the production * project. * POSTHOG_API_KEY - Per-process override (mainly for local * debugging or staging). Wins over * `AGENT_RELAY_POSTHOG_KEY` when set. * POSTHOG_HOST - Override host URL. Defaults to the hosted * Agent Relay ingestion proxy. * * Key selection order: * 1. POSTHOG_API_KEY (process override, any environment) * 2. AGENT_RELAY_POSTHOG_KEY (release-time injection) * 3. None → returns `null` and `initTelemetry()` becomes a no-op. */ export declare function getPostHogConfig(): { apiKey: string; host: string; } | null; //# sourceMappingURL=posthog-config.d.ts.map