import { CommandParser } from '@redis/client/dist/lib/client/parser';
import { RedisArgument, ReplyUnion, NumberReply, TypeMapping } from '@redis/client/dist/lib/RESP/types';
import { AggregateRawReply, AggregateReply, FtAggregateOptions } from './AGGREGATE';
export interface FtAggregateWithCursorOptions extends FtAggregateOptions {
    COUNT?: number;
    MAXIDLE?: number;
}
type AggregateWithCursorRawReply = [
    result: AggregateRawReply,
    cursor: NumberReply
];
export interface AggregateWithCursorReply extends AggregateReply {
    cursor: NumberReply;
}
declare function transformAggregateWithCursorReplyResp3(reply: ReplyUnion, preserve?: any, typeMapping?: TypeMapping): AggregateWithCursorReply;
declare const _default: {
    readonly IS_READ_ONLY: false;
    readonly parseCommand: (this: void, parser: CommandParser, index: RedisArgument, query: RedisArgument, options?: FtAggregateWithCursorOptions) => void;
    readonly transformReply: {
        readonly 2: (reply: AggregateWithCursorRawReply, preserve?: any, typeMapping?: TypeMapping) => AggregateWithCursorReply;
        readonly 3: typeof transformAggregateWithCursorReplyResp3;
    };
};
export default _default;
//# sourceMappingURL=AGGREGATE_WITHCURSOR.d.ts.map