/** * Core Ingestion class for tracking usage events. */ export interface IngestionConfig { /** Dodo Payments API key */ apiKey: string; /** Environment mode - test_mode for testing, live_mode for production */ environment?: 'test_mode' | 'live_mode'; /** Event name for the meter (e.g., 's3_upload', 'api_request') */ eventName: string; } /** * Ingestion client for tracking usage events. */ export declare class Ingestion { private client; private eventName; constructor(config: IngestionConfig); /** * Track a usage event */ track(event: { customerId: string; metadata?: Record; }): Promise; /** * Generate a unique event ID with the event name as prefix */ private generateEventId; } //# sourceMappingURL=ingestion.d.ts.map