/** * HTTP cloud client for production API. * * Makes real HTTP requests to the Bellwether Cloud API. * Handles automatic session token rotation when the server returns * a new token via the X-Rotated-Session-Token header. */ import type { BellwetherCloudClient, CloudUser, Project, BaselineVersion, UploadResult, DiffSummary, BellwetherBaseline, BadgeInfo, CloudBenchmarkResult, BenchmarkSubmissionResult } from './types.js'; /** * HTTP cloud client implementation. */ export declare class HttpCloudClient implements BellwetherCloudClient { private baseUrl; private sessionToken; private teamId?; private timeout; constructor(baseUrl: string, sessionToken: string, timeout?: number, teamId?: string); /** * Make an authenticated request. * Handles automatic session token rotation when the server returns * a new token via the X-Rotated-Session-Token header. */ private request; isAuthenticated(): boolean; whoami(): Promise; listProjects(): Promise; createProject(name: string, serverCommand: string): Promise; getProject(projectId: string): Promise; deleteProject(projectId: string): Promise; uploadBaseline(projectId: string, baseline: BellwetherBaseline): Promise; getHistory(projectId: string, limit?: number): Promise; getBaseline(baselineId: string): Promise; getDiff(projectId: string, fromVersion: number, toVersion: number): Promise; getLatestDiff(projectId: string): Promise; getBadgeInfo(projectId: string): Promise; submitBenchmark(projectId: string, result: CloudBenchmarkResult, report?: Record): Promise; } //# sourceMappingURL=http-client.d.ts.map