UNPKG

posthog-js

Version:

Posthog-js allows you to automatically capture usage and send events to PostHog.

10 lines (9 loc) • 589 B
import type { PostHog } from './posthog-core'; import { PostHogSurveys } from '@posthog/browser-common/surveys'; import type { SurveyRenderContext } from '@posthog/browser-common/survey-render-context'; /** Browser-v1 configuration and lazy-loading adapter for the shared surveys extension. */ export declare class BrowserSurveys extends PostHogSurveys { constructor(instance: PostHog); } /** Called by the lazy bundle and preview entrypoint, never as a modern pre-setup fallback. */ export declare function getSurveyRenderContext(instance?: PostHog): SurveyRenderContext | undefined;