export interface TokenUsageSummaryRow { workspace_id: string; project_id?: string | null; agent_id?: string | null; model_name?: string | null; command_name?: string | null; action?: string | null; job_id?: string | null; day?: string | null; calls: number; tokens_prompt: number; tokens_completion: number; tokens_total: number; tokens_cached?: number; tokens_cache_read?: number; tokens_cache_write?: number; duration_ms?: number; cost_estimate: number | null; } export interface TokenUsageRow { workspace_id: string; agent_id: string | null; model_name: string | null; job_id: string | null; command_run_id: string | null; task_run_id: string | null; task_id: string | null; project_id: string | null; epic_id: string | null; user_story_id: string | null; tokens_prompt: number | null; tokens_completion: number | null; tokens_total: number | null; tokens_cached?: number | null; tokens_cache_read?: number | null; tokens_cache_write?: number | null; cost_estimate: number | null; duration_seconds: number | null; duration_ms?: number | null; started_at?: string | null; finished_at?: string | null; timestamp: string; command_name?: string | null; action?: string | null; invocation_kind?: string | null; provider?: string | null; currency?: string | null; error_kind?: string | null; metadata?: Record; } export interface TelemetryConfig { localRecording: boolean; remoteExport: boolean; optOut: boolean; strict: boolean; [key: string]: unknown; } export declare class TelemetryClient { private options; constructor(options: { baseUrl: string; authToken?: string; }); private request; getSummary(params: { workspaceId: string; projectId?: string; agentId?: string; commandName?: string; jobId?: string; from?: string; to?: string; groupBy?: string[]; }): Promise; getTokenUsage(params: { workspaceId: string; projectId?: string; agentId?: string; commandName?: string; jobId?: string; taskId?: string; from?: string; to?: string; page?: number; pageSize?: number; sort?: string; }): Promise; getConfig(workspaceId: string): Promise; optOut(workspaceId: string, strict?: boolean): Promise; optIn(workspaceId: string): Promise; } //# sourceMappingURL=TelemetryClient.d.ts.map