import { Batch } from '../types'; export interface Api { sendBatch(batches: Batch[]): Promise; sendMetricsBatch(batches: Batch[]): Promise; }