interface TelemetrySender {
    flush?(): void | Thenable<void>;
    sendErrorData(error, data?): void;
    sendEventData(eventName, data?): void;
}

Methods