import { Point , PointSettings } from './Point' ; /**
 * The asynchronous buffering API to Write time-series data into InfluxDB.
 * This API always buffers points/lines to create batches under the hood
 * to optimize data transfer to InfluxDB server, use `flush` to send
 * the buffered data to InfluxDB immediately.
 * <p>
 * The data are formatted in [Line Protocol](https://bit.ly/2QL99fu).
 * <p>
 */ export default interface WriteApi extends PointSettings { param tags returns useDefaultTags ( tags ) : WriteApi ; param record writeRecord ( record ) : void ; param records writeRecords ( records ) : void ; param point writePoint ( point ) : void ; param points writePoints ( points ) : void ; param withRetryBuffer returns flush ( withRetryBuffer ? ) : Promise < void > ; returns close ( ) : Promise < void > ; returns dispose ( ) : number ; }