import { DBChunks } from "./DBChunks"; import { FilterOpp } from "./DBFilterOpps"; export declare class DBDataRequest { constructor(db: DBChunks); startClock(): void; addOverTime(milliseconds: number): void; isExpired(): boolean; db: DBChunks; /** Timelimit in milliseconds, 0 means no limit */ softTimeout: number; /** Time the request started processing (ms from epoch) */ startTime: number; /** Maximum time limit for processing chunks (ms from epoch) */ softExpTime: number; /** keeps track of filtering operations to apply to the data */ filterStack: FilterOpp[]; /** * Adds filter that requires items have the specified tag * @param tag */ hasTag(tag: string): void; /** * Adds filter that requires items have the specified tags * @param tags */ hasTags(tags: string[] | string): this; skip(amount: number): this; top(amount: number): this; /** * * @param timelimit in milliseconds */ setTimeout(timelimit: number): void; } //# sourceMappingURL=DBDataRequest.d.ts.map