Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/PEXPIRE.d.ts
2025-11-11 12:36:06 +07:00

18 lines
755 B
TypeScript

import { CommandParser } from '../client/parser';
import { RedisArgument, NumberReply } from '../RESP/types';
declare const _default: {
readonly IS_READ_ONLY: true;
/**
* Constructs the PEXPIRE command
*
* @param parser - The command parser
* @param key - The key to set the expiration for
* @param ms - The expiration time in milliseconds
* @param mode - Optional mode for the command ('NX', 'XX', 'GT', 'LT')
* @see https://redis.io/commands/pexpire/
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, ms: number, mode?: 'NX' | 'XX' | 'GT' | 'LT') => void;
readonly transformReply: () => NumberReply;
};
export default _default;
//# sourceMappingURL=PEXPIRE.d.ts.map