16 lines
659 B
TypeScript
16 lines
659 B
TypeScript
|
|
import { CommandParser } from '../client/parser';
|
||
|
|
import { SimpleStringReply } from '../RESP/types';
|
||
|
|
import { RedisFlushMode } from './FLUSHALL';
|
||
|
|
declare const _default: {
|
||
|
|
readonly NOT_KEYED_COMMAND: true;
|
||
|
|
readonly IS_READ_ONLY: false;
|
||
|
|
/**
|
||
|
|
* Deletes all the libraries and functions from a Redis server
|
||
|
|
* @param parser - The Redis command parser
|
||
|
|
* @param mode - Optional flush mode (ASYNC or SYNC)
|
||
|
|
*/
|
||
|
|
readonly parseCommand: (this: void, parser: CommandParser, mode?: RedisFlushMode) => void;
|
||
|
|
readonly transformReply: () => SimpleStringReply<'OK'>;
|
||
|
|
};
|
||
|
|
export default _default;
|
||
|
|
//# sourceMappingURL=FUNCTION_FLUSH.d.ts.map
|