interface TelemetryConfig {
    version: '1.0';
    enabled: boolean;
    installId: string;
    decidedAt: string;
    events: number;
}
export declare function setTelemetryConsent(enabled: boolean): TelemetryConfig;
export declare function getTelemetryStatus(): {
    configured: boolean;
    enabled: boolean;
    installId?: string;
    events?: number;
};
export interface TelemetryEvent {
    event: string;
    properties?: Record<string, string | number | boolean | null>;
}
/**
 * Send a telemetry event — only if user opted in AND endpoint URL is set.
 * Failures are silently ignored (never break the user's CLI).
 * Times out after 2 seconds.
 */
export declare function trackEvent(evt: TelemetryEvent): Promise<void>;
export declare function getEndpointEnvVar(): string;
export {};
