Files
micro-service-api/node_modules/@redis/search/dist/lib/commands/CURSOR_READ.d.ts
2025-11-11 12:36:06 +07:00

25 lines
1.3 KiB
TypeScript

import { CommandParser } from '@redis/client/dist/lib/client/parser';
import { RedisArgument, NumberReply, UnwrapReply } from '@redis/client/dist/lib/RESP/types';
export interface FtCursorReadOptions {
COUNT?: number;
}
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly IS_READ_ONLY: true;
/**
* Reads from an existing cursor to get more results from an index.
* @param parser - The command parser
* @param index - The index name that contains the cursor
* @param cursor - The cursor ID to read from
* @param options - Optional parameters:
* - COUNT: Maximum number of results to return
*/
readonly parseCommand: (this: void, parser: CommandParser, index: RedisArgument, cursor: UnwrapReply<NumberReply>, options?: FtCursorReadOptions) => void;
readonly transformReply: {
readonly 2: (reply: [result: [total: UnwrapReply<NumberReply<number>>, ...results: import("@redis/client/dist/lib/RESP/types").ArrayReply<import("@redis/client/dist/lib/RESP/types").BlobStringReply<string>>[]], cursor: NumberReply<number>]) => import("./AGGREGATE_WITHCURSOR").AggregateWithCursorReply;
readonly 3: () => import("@redis/client/dist/lib/RESP/types").ReplyUnion;
};
readonly unstableResp3: true;
};
export default _default;
//# sourceMappingURL=CURSOR_READ.d.ts.map