export type BuilderUploadFailureCategory = 'network_error' | 'unauthorized' | 'payload_too_large' | 'storage_failure' | 'unknown';
type BuilderUploadPhase = 'started' | 'succeeded' | 'failed';
export interface TrackBuilderUploadInput {
    apikey: string;
    appId: string;
    orgId: string;
    platform: 'ios' | 'android';
    buildMode: string;
    jobId: string;
    sizeBytes: number;
    phase: BuilderUploadPhase;
    durationSeconds?: number;
    error?: unknown;
}
export declare function mapBuilderUploadError(error: unknown): BuilderUploadFailureCategory;
export declare function trackBuilderUpload(input: TrackBuilderUploadInput): Promise<void>;
export {};
