UNPKG

@posthog/types

Version:

Type definitions for the PostHog JavaScript SDK

17 lines 1.74 kB
/** * @posthog/types - Type definitions for the PostHog JavaScript SDK * * This package provides TypeScript type definitions for the PostHog SDK, * allowing you to type the PostHog instance and its configuration options. */ export type { PostHog } from './posthog'; export type { Property, Properties, JsonType, JsonRecord } from './common'; export type { KnownEventName, KnownUnsafeEditableEvent, EventName, CaptureResult, CaptureOptions, BeforeSendFn, } from './capture'; export type { FeatureFlagsCallback, FeatureFlagDetail, FeatureFlagMetadata, EvaluationReason, FeatureFlagResult, RemoteConfigFeatureFlagCallback, EarlyAccessFeature, EarlyAccessFeatureStage, EarlyAccessFeatureCallback, EarlyAccessFeatureResponse, } from './feature-flags'; export type { Headers, RequestResponse, RequestCallback } from './request'; export type { SessionRecordingCanvasOptions, InitiatorType, NetworkRequest, CapturedNetworkRequest, SessionIdChangedCallback, SeverityLevel, } from './session-recording'; export type { AutocaptureCompatibleElement, DomAutocaptureEvents, AutocaptureConfig, RageclickConfig, BootstrapConfig, SupportedWebVitalsMetrics, PerformanceCaptureConfig, DeadClickCandidate, ExceptionAutoCaptureConfig, DeadClicksAutoCaptureConfig, HeatmapConfig, ConfigDefaults, ExternalIntegrationKind, ErrorTrackingOptions, MaskInputOptions, SlimDOMOptions, SessionRecordingOptions, RequestQueueConfig, PostHogConfig, } from './posthog-config'; export type { SegmentUser, SegmentAnalytics, SegmentPlugin, SegmentContext, SegmentFunction } from './segment'; export type { SurveyRenderReason } from './survey'; export type { ToolbarParams, ToolbarUserIntent, ToolbarSource, ToolbarVersion } from './toolbar'; //# sourceMappingURL=index.d.ts.map