import { CommandParser } from '@redis/client/dist/lib/client/parser'; import { ArrayReply, RedisArgument, ReplyUnion, TuplesReply, TypeMapping } from '@redis/client/dist/lib/RESP/types'; import { AggregateReply } from './AGGREGATE'; import { FtSearchOptions, SearchRawReply, SearchReply } from './SEARCH'; export type ProfileRawReplyResp2 = TuplesReply<[ T, ArrayReply ]>; export interface ProfileReplyResp2 { results: SearchReply | AggregateReply; profile: ReplyUnion; } export interface ProfileOptions { LIMITED?: true; } export declare function extractProfileResultsReply(reply: ReplyUnion): ReplyUnion; export declare function transformProfileReply(reply: ReplyUnion): ReplyUnion; declare function transformProfileSearchReplyResp3(reply: ReplyUnion, preserve?: any, typeMapping?: TypeMapping): ProfileReplyResp2; declare const _default: { readonly NOT_KEYED_COMMAND: true; readonly IS_READ_ONLY: true; readonly parseCommand: (this: void, parser: CommandParser, index: RedisArgument, query: RedisArgument, options?: ProfileOptions & FtSearchOptions) => void; readonly transformReply: { readonly 2: (reply: [SearchRawReply, ArrayReply], preserve?: any, typeMapping?: TypeMapping) => ProfileReplyResp2; readonly 3: typeof transformProfileSearchReplyResp3; }; }; export default _default; //# sourceMappingURL=PROFILE_SEARCH.d.ts.map