recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
15 lines (14 loc) • 555 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
export declare const FIRST_KEY_INDEX = 1;
interface XAddOptions {
NOMKSTREAM?: true;
TRIM?: {
strategy?: 'MAXLEN' | 'MINID';
strategyModifier?: '=' | '~';
threshold: number;
limit?: number;
};
}
export declare function transformArguments(key: RedisCommandArgument, id: RedisCommandArgument, message: Record<string, RedisCommandArgument>, options?: XAddOptions): RedisCommandArguments;
export declare function transformReply(): string;
export {};