import type { IDisposable } from '@univerjs/core'; import type { ITelemetryService } from '@univerjs/telemetry'; import type { PostHog } from 'posthog-js'; import { Disposable } from '@univerjs/core'; export declare class PosthogTelemetryService extends Disposable implements ITelemetryService, IDisposable { private _performanceRecords; protected _posthog: PostHog | undefined; constructor(shouldInit?: boolean); get posthog(): PostHog | undefined; private _init; debug(): void; init(options?: Record): void; reset(): void; startTime(functionName: string): void; endTime(functionName: string): void; trackPerformance(params: { duration: number; functionName: string; [prop: string]: any; }): void; identify(id: string, params?: Record): void; capture(eventName: string, params?: Record | undefined): void; onPageView(url: string): void; dispose(): void; }