UNPKG

@posthog/wizard

Version:

The PostHog wizard helps you to configure your project

16 lines (15 loc) 639 B
export declare class Analytics { private client; private tags; private distinctId?; private anonymousId; private appName; constructor(); setDistinctId(distinctId: string): void; setTag(key: string, value: string | boolean | number | null | undefined): void; captureException(error: Error, properties?: Record<string, unknown>): void; capture(eventName: string, properties?: Record<string, unknown>): void; getFeatureFlag(flagKey: string): Promise<string | boolean | undefined>; shutdown(status: 'success' | 'error' | 'cancelled'): Promise<void>; } export declare const analytics: Analytics;