You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
555 B

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 {};