import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RedisRawOutput } from "./redisrawoutput.js"; export type Redis = { /** * The architecture bits (32 or 64) the Redis server used to build. */ archBits?: string | undefined; /** * The response from the AUTH command, if sent. */ authResponse?: string | undefined; /** * The Build ID of the Redis server. */ buildId?: string | undefined; /** * The list of commands actually sent to the server, serialized in inline format, like 'PING' or 'AUTH somePassword'. */ commands?: Array | null | undefined; /** * The total number of commands processed by the server. */ commandsProcessed?: number | undefined; /** * The total number of connections accepted by the server. */ connectionsReceived?: number | undefined; /** * The version of the GCC compiler used to compile the Redis server. */ gccVersion?: string | undefined; /** * The Sha-1 Git commit hash the Redis server used. */ gitSha1?: string | undefined; /** * The response from the INFO command. Should be a series of key:value pairs separated by CRLFs. */ infoResponse?: { [k: string]: string; } | undefined; /** * Major is the version's major number. */ major?: number | undefined; /** * The memory allocator. */ memAllocator?: string | undefined; /** * Minor is the version's major number. */ minor?: number | undefined; /** * The mode the Redis server is running (standalone or cluster), read from the the info_response (if available). */ mode?: string | undefined; /** * The response from the NONEXISTENT command. */ nonexistentResponse?: string | undefined; /** * The OS the Redis server is running, read from the the info_response (if available). */ os?: string | undefined; /** * Patchlevel is the version's patchlevel number. */ patchLevel?: number | undefined; /** * The response from the PING command; should either be "PONG" or an authentication error. */ pingResponse?: string | undefined; /** * The response to the QUIT command. */ quitResponse?: string | undefined; /** * The raw output returned by the server for each command sent; the indices match those of commands. */ rawCommandOutput?: Array | null | undefined; /** * The number of seconds since Redis server start. */ uptime?: number | undefined; /** * The total number of bytes allocated by Redis using its allocator. */ usedMemory?: number | undefined; }; /** @internal */ export declare const Redis$inboundSchema: z.ZodType; export declare function redisFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=redis.d.ts.map