-first commit

This commit is contained in:
2025-11-11 12:36:06 +07:00
commit b99c214434
5683 changed files with 713336 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { CommandParser } from '../client/parser';
import { RedisVariadicArgument } from './generic-transformers';
import { ArrayReply, BlobStringReply, NullReply, RedisArgument } from '../RESP/types';
export interface HGetExOptions {
expiration?: {
type: 'EX' | 'PX' | 'EXAT' | 'PXAT';
value: number;
} | {
type: 'PERSIST';
} | 'PERSIST';
}
declare const _default: {
/**
* Gets the values of the specified fields in a hash and optionally sets their expiration
* @param parser - The Redis command parser
* @param key - Key of the hash
* @param fields - Fields to get values from
* @param options - Options for setting expiration
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, fields: RedisVariadicArgument, options?: HGetExOptions) => void;
readonly transformReply: () => ArrayReply<BlobStringReply | NullReply>;
};
export default _default;
//# sourceMappingURL=HGETEX.d.ts.map