/// import Config = require("./Config"); import * as http from "http"; import * as Contracts from "../Declarations/Contracts"; declare class QuickPulseSender { private static TAG; private static MAX_QPS_FAILURES_BEFORE_WARN; private _config; private _consecutiveErrors; constructor(config: Config); ping(envelope: Contracts.EnvelopeQuickPulse, done: (shouldPOST?: boolean, res?: http.IncomingMessage) => void): void; post(envelope: Contracts.EnvelopeQuickPulse, done: (shouldPOST?: boolean, res?: http.IncomingMessage) => void): void; private _submitData(envelope, done, postOrPing); } export = QuickPulseSender;