export interface SegmentConfig { segmentWriteKey: string flushAt?: number flushInterval?: number }