export declare type Callback = (error?: Error, result?: Result) => {}; export declare type Options = { date?: Date; period?: Period; }; export declare type Period = 'minute' | 'hour' | 'day' | 'month' | 'year'; export declare type Result = { data?: any; error?: any; }; export declare class Client { private readonly user; private readonly clientToken; constructor(user: string, clientToken: string); private ax; private config; private PATH; private QS; private RECORD_SAVE_URL; private RECORD_SAVE_IN_PERIOD_URL; date(date?: Date | string): Client; options(config: Options): Client; period(period?: Period): Client; reset(): Client; send(metric: string, value: number, cb?: Callback): Client; } //# sourceMappingURL=index.d.ts.map