import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class Events extends ClientSDK { /** * Ingest event * * @remarks * Use when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id. */ ingestEvent(request: models.IngestEventRequest, options?: RequestOptions): Promise<{ [k: string]: string; }>; /** * Get usage analytics * * @remarks * Use when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown. */ getUsageAnalytics(request: models.GetUsageAnalyticsRequest, options?: RequestOptions): Promise; /** * Bulk ingest events * * @remarks * Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted. */ ingestEventsBulk(request: models.BulkIngestEventRequest, options?: RequestOptions): Promise<{ [k: string]: string; }>; /** * Get Hugging Face inference data * * @remarks * Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation). Reads the meter-usage pipeline. */ getHuggingfaceInferenceData(request: models.GetHuggingFaceBillingDataRequest, options?: RequestOptions): Promise; /** * Get event * * @remarks * Use when debugging a specific event (e.g. why it failed or how it was aggregated). Reads the meter-usage pipeline; includes processing status and step-by-step debug tracker when unprocessed. Uses ?id= query param because event IDs can contain "/". */ getEvent(id: string, options?: RequestOptions): Promise; /** * List raw events * * @remarks * Use when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting. */ listRawEvents(request: models.GetEventsRequest, options?: RequestOptions): Promise; /** * Get usage statistics * * @remarks * Use when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided. */ getUsageStatistics(request: models.GetUsageRequest, options?: RequestOptions): Promise; /** * Get usage by meter * * @remarks * Use when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription. */ getUsageByMeter(request: models.GetUsageByMeterRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=events.d.ts.map