UNPKG

redis-time-series-ts

Version:
21 lines 623 B
import { StringNumberArray } from "../index"; /** * A `count` object representing the maximum number of results to return */ export declare class Count { private readonly count; /** * Creates a count object. Limits the number of items returned in a series * * @param count maximum number of results to return * ``` * // Example * const count = new Count(5000) * count.flatten() // ['COUNT', 5000] * ``` */ constructor(count: number); flatten(): StringNumberArray; protected validate(count: number): number; } //# sourceMappingURL=count.d.ts.map