dld_backend/node_modules/@redis/search/dist/commands/AGGREGATE_WITHCURSOR.d.ts
2025-10-30 12:13:02 +05:30

15 lines
681 B
TypeScript

import { AggregateOptions, AggregateRawReply, AggregateReply } from './AGGREGATE';
export { FIRST_KEY_INDEX, IS_READ_ONLY } from './AGGREGATE';
interface AggregateWithCursorOptions extends AggregateOptions {
COUNT?: number;
}
export declare function transformArguments(index: string, query: string, options?: AggregateWithCursorOptions): import("@redis/client/dist/lib/commands").RedisCommandArguments;
type AggregateWithCursorRawReply = [
result: AggregateRawReply,
cursor: number
];
interface AggregateWithCursorReply extends AggregateReply {
cursor: number;
}
export declare function transformReply(reply: AggregateWithCursorRawReply): AggregateWithCursorReply;