declare class Analytics { queue: any; writeKey: any; host: any; timeout: any; flushAt: any; flushInterval: any; flushed: any; version: any; platform: any; networkOptions: any; networkSender: any; enable: any; timer: any; /** * Initialize a new `Analytics` with your Segment project's `writeKey` and an * optional dictionary of `options`. * * @param {String} writeKey * @param {Object} [options] (optional) * @property {Number} flushAt (default: 20) * @property {Number} flushInterval (default: 10000) * @property {String} host (default: 'https://api.segment.io') * @property {Boolean} enable (default: true) * @param deviceProperties * @param networkOptions (axios options, see https://github.com/axios/axios#request-config) */ constructor(writeKey: any, options: any, deviceProperties: any, networkOptions: any, networkSender: any); /** * Send an identify `message`. * * @param {Object} message * @param {Function} [callback] (optional) * @return {Analytics} */ identify(message: any, callback: any): this; /** * Send a group `message`. * * @param {Object} message * @param {Function} [callback] (optional) * @return {Analytics} */ group(message: any, callback: any): this; /** * Send a track `message`. * * @param {Object} message * @param {Function} [callback] (optional) * @return {Analytics} */ track(message: any, callback: any): this; /** * Send a page `message`. * * @param {Object} message * @param {Function} [callback] (optional) * @return {Analytics} */ page(message: any, callback: any): this; /** * Send a screen `message`. * * @param {Object} message * @param {Function} fn (optional) * @return {Analytics} */ screen(message: any, callback: any): this; /** * Send an alias `message`. * * @param {Object} message * @param {Function} [callback] (optional) * @return {Analytics} */ alias(message: any, callback: any): this; /** * Add a `message` of type `type` to the queue and * check whether it should be flushed. * * @param {String} type * @param {Object} message * @param {Function} [callback] (optional) * @api private */ enqueue(type: any, message: any, callback: any): void; /** * Flush the current queue * * @param {Function} [callback] (optional) * @return {Analytics} */ flush(callback?: any): void; } export default Analytics; //# sourceMappingURL=Analytics.d.ts.map