/** * Lightweight helpers for talking to the hosted Studio backend over HTTP. */ export interface StudioClientOptions { baseUrl: string; apiKey?: string; } export interface StudioEvent { [key: string]: unknown; } export interface StudioHealthResponse { [key: string]: unknown; } export interface StudioIngestResult { ok: boolean; ingested: number; eventIds: string[]; } export declare class StudioAPIError extends Error { readonly statusCode?: number; constructor(message: string, statusCode?: number); } export declare class StudioClient { readonly baseUrl: string; readonly apiKey?: string; constructor(options: StudioClientOptions); health(): Promise; ingestEvents(events: StudioEvent[], options?: { source?: string; apiKey?: string; }): Promise; private requestJson; private safeParseJson; } //# sourceMappingURL=studio.d.ts.map