17 lines
641 B
TypeScript
17 lines
641 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { SimpleStringReply } from '../RESP/types';
|
|
declare const _default: {
|
|
readonly NOT_KEYED_COMMAND: true;
|
|
readonly IS_READ_ONLY: true;
|
|
/**
|
|
* Constructs the SCRIPT FLUSH command
|
|
*
|
|
* @param parser - The command parser
|
|
* @param mode - Optional flush mode: ASYNC or SYNC
|
|
* @see https://redis.io/commands/script-flush/
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, mode?: 'ASYNC' | 'SYNC') => void;
|
|
readonly transformReply: () => SimpleStringReply<'OK'>;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=SCRIPT_FLUSH.d.ts.map
|