import { PathSeriesResult, SnapshotsQuery, SnapshotsResult } from './contract'; import { RollupEngine } from './rollup'; import { Store } from './store'; export declare const LIMIT_DEFAULT = 200; export declare const LIMIT_MAX = 5000; export declare const RAW_WINDOW_DAYS = 7; export declare class QueryService { private store; private rollups; constructor(store: Store, rollups: RollupEngine); snapshots(q: SnapshotsQuery, now: number): Promise; pathSeries(pathName: string, q: SnapshotsQuery, now: number): Promise; private minutesFrom; private readRawWindow; countToday(now: number): Promise; } export declare class QueryError extends Error { code: string; constructor(code: string, message: string); }