17 lines
692 B
TypeScript
17 lines
692 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { NumberReply, RedisArgument } from '../RESP/types';
|
|
import { BitValue } from './generic-transformers';
|
|
declare const _default: {
|
|
readonly CACHEABLE: true;
|
|
readonly IS_READ_ONLY: true;
|
|
/**
|
|
* Returns the bit value at a given offset in a string value
|
|
* @param parser - The Redis command parser
|
|
* @param key - Key to retrieve the bit from
|
|
* @param offset - Bit offset
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, offset: number) => void;
|
|
readonly transformReply: () => NumberReply<BitValue>;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=GETBIT.d.ts.map
|