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

9 lines
407 B
TypeScript

import { SugGetOptions } from './SUGGET';
export { IS_READ_ONLY } from './SUGGET';
export declare function transformArguments(key: string, prefix: string, options?: SugGetOptions): Array<string>;
export interface SuggestionWithPayload {
suggestion: string;
payload: string | null;
}
export declare function transformReply(rawReply: Array<string | null> | null): Array<SuggestionWithPayload> | null;