import { MeasurementPoint, Reporter, Tags } from '../index'; declare namespace InfluxDb { interface Options { host?: string; port?: string; db: string; /** Write points into logger if true */ logPoints?: boolean; logger?: (msg: string) => void; defaultTags?: Tags; } } /** * @see https://docs.influxdata.com/influxdb/v0.10/write_protocols/line/ */ declare class InfluxDb implements Reporter { private readonly options; constructor(options: InfluxDb.Options); send(points: MeasurementPoint[]): Promise; private sendNetwork; private pointToString; private fieldToString; } export { InfluxDb };