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.
16 lines
449 B
16 lines
449 B
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
export declare const FIRST_KEY_INDEX = 1;
|
|
type GetExModes = {
|
|
EX: number;
|
|
} | {
|
|
PX: number;
|
|
} | {
|
|
EXAT: number | Date;
|
|
} | {
|
|
PXAT: number | Date;
|
|
} | {
|
|
PERSIST: true;
|
|
};
|
|
export declare function transformArguments(key: RedisCommandArgument, mode: GetExModes): RedisCommandArguments;
|
|
export declare function transformReply(): RedisCommandArgument | null;
|
|
export {};
|
|
|