import { getTelemetryStatus } from './telemetry-config.js'; import type { StatusEvent } from '@tanstack/create'; type TelemetryProperties = Record; export declare class TelemetryClient { private commandProperties; private pendingSteps; private completedSteps; private readonly disabledBy?; private readonly distinctId?; readonly enabled: boolean; constructor(status: Awaited>); mergeProperties(properties: TelemetryProperties): void; startStep(info: StatusEvent): void; finishStep(id: string): void; captureCommandStarted(command: string, properties: TelemetryProperties): Promise; captureCommandCompleted(command: string, durationMs: number): Promise; captureCommandFailed(command: string, durationMs: number, error: unknown): Promise; private baseProperties; } export declare function createTelemetryClient(opts?: { json?: boolean; }): Promise; export declare function resetTelemetryStateForTests(): void; export {};