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

64 lines
6.3 KiB
TypeScript

declare const _default: {
readonly sentinel: {
readonly SENTINEL_SENTINELS: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>[];
readonly 3: () => import("../RESP/types").ArrayReply<import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>>;
};
};
readonly sentinelSentinels: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>[];
readonly 3: () => import("../RESP/types").ArrayReply<import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>>;
};
};
readonly SENTINEL_MASTER: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>;
readonly 3: () => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>;
};
};
readonly sentinelMaster: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>;
readonly 3: () => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>;
};
};
readonly SENTINEL_REPLICAS: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>[];
readonly 3: () => import("../RESP/types").ArrayReply<import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>>;
};
};
readonly sentinelReplicas: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument) => void;
readonly transformReply: {
readonly 2: (reply: import("../RESP/types").ArrayReply<import("../RESP/types").ArrayReply<import("../RESP/types").BlobStringReply<string>>>, preserve?: any, typeMapping?: import("../RESP/types").TypeMapping | undefined) => import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>[];
readonly 3: () => import("../RESP/types").ArrayReply<import("../RESP/types").MapReply<import("../RESP/types").BlobStringReply<string>, import("../RESP/types").BlobStringReply<string>>>;
};
};
readonly SENTINEL_MONITOR: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument, host: import("../RESP/types").RedisArgument, port: import("../RESP/types").RedisArgument, quorum: import("../RESP/types").RedisArgument) => void;
readonly transformReply: () => import("../RESP/types").SimpleStringReply<"OK">;
};
readonly sentinelMonitor: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument, host: import("../RESP/types").RedisArgument, port: import("../RESP/types").RedisArgument, quorum: import("../RESP/types").RedisArgument) => void;
readonly transformReply: () => import("../RESP/types").SimpleStringReply<"OK">;
};
readonly SENTINEL_SET: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument, options: import("./commands/SENTINEL_SET").SentinelSetOptions) => void;
readonly transformReply: () => import("../RESP/types").SimpleStringReply<"OK">;
};
readonly sentinelSet: {
readonly parseCommand: (this: void, parser: import("../..").CommandParser, dbname: import("../RESP/types").RedisArgument, options: import("./commands/SENTINEL_SET").SentinelSetOptions) => void;
readonly transformReply: () => import("../RESP/types").SimpleStringReply<"OK">;
};
};
};
export default _default;
//# sourceMappingURL=module.d.ts.map