import type { PdpEvent } from '@salesforce/telemetry';
export type PdpEventWithUsername = PdpEvent & {
    targetOrgUsername?: string;
};
export declare class Uploader {
    private telemetry;
    private version;
    private o11yUploadEndpoint;
    private constructor();
    /**
     * Sends events from telemetry.
     */
    static upload(cacheDir: string, telemetryFilePath: string, version: string): Promise<void>;
    /**
     * Reads the telemetry events from file and sends them to the telemetry service.
     */
    private sendToTelemetry;
    private parseEvents;
}
