posthog-js
Version:
Posthog-js allows you to automatically capture usage and send events to PostHog.
15 lines (14 loc) • 1.17 kB
TypeScript
declare module '@posthog/types' {
interface TreeShakeableConfig {
optional: true;
}
}
export { PostHog } from '../posthog-core';
export * from '../types';
export { DisplaySurveyType, SurveyEventName, SurveyEventProperties, SurveyEventType, SurveyPosition, SurveyQuestionBranchingType, SurveyQuestionType, SurveySchedule, SurveyTabPosition, SurveyType, SurveyWidgetType, } from '@posthog/browser-common';
export type { PropertyOperator, PropertyFilters, SurveyEventWithFilters, SurveyAppearance, SurveyQuestion, SurveyQuestionDescriptionContentType, BasicSurveyQuestion, LinkSurveyQuestion, RatingSurveyQuestion, MultipleSurveyQuestion, Survey, SurveyWithTypeAndAppearance, SurveyActionType, ActionStepStringMatching, ActionStepType, SurveyCallback, SurveyElement, SurveyRenderReason, DisplaySurveyPopoverOptions, DisplaySurveyOptions, SurveyConfig, SurveyResponseValue, } from '@posthog/browser-common';
export * from '../posthog-product-tours-types';
export * from '../posthog-conversations-types';
export type * as BundleTypes from '../extensions/extension-bundles';
export declare const posthog: import("../posthog-core").PostHog;
export default posthog;