/**
 * Telemetry client for MCP server
 *
 * Tracks anonymous usage metrics for the MCP server.
 * No sensitive data (queries, results, or PII) is collected.
 */
export declare class TelemetryClient {
    private enabled;
    private endpoint;
    private sdkVersion;
    private installationId;
    private metrics;
    private configDir;
    private metricsFile;
    private idFile;
    constructor(enabled?: boolean, endpoint?: string, sdkVersion?: string);
    /**
     * Initialize telemetry client
     */
    init(): Promise<void>;
    /**
     * Get or create installation ID
     */
    private getOrCreateInstallationId;
    /**
     * Load metrics from disk (shared with Python SDK)
     */
    private loadMetrics;
    /**
     * Save metrics to disk (merge with existing metrics.json to preserve Python SDK data)
     */
    private saveMetrics;
    /**
     * Track an MCP query
     */
    trackQuery(): Promise<void>;
    /**
     * Get current metrics (reads from shared metrics.json to include Python SDK data)
     */
    private getMetrics;
    /**
     * Send metrics to telemetry endpoint
     */
    sendMetrics(): Promise<void>;
    /**
     * Shutdown telemetry client
     */
    shutdown(): Promise<void>;
}
/**
 * Initialize global telemetry client
 */
export declare function initTelemetry(enabled?: boolean, endpoint?: string): Promise<void>;
/**
 * Track an MCP query
 */
export declare function trackQuery(): Promise<void>;
/**
 * Shutdown telemetry
 */
export declare function shutdownTelemetry(): Promise<void>;
//# sourceMappingURL=client.d.ts.map