import { R as Redis$1, a as RedisOptions, b as RequesterConfig } from './error-DOszGRxg.mjs'; export { A as AppendCommand, c as ArCountCommand, d as ArDelCommand, e as ArDelRangeCommand, f as ArGetCommand, g as ArGetRangeCommand, h as ArGrepCommand, i as ArGrepOptions, j as ArGrepPredicate, k as ArGrepResult, l as ArInfoCommand, m as ArInfoOptions, n as ArInfoResult, o as ArInsertCommand, p as ArLastItemsCommand, q as ArLastItemsOptions, r as ArLenCommand, s as ArMGetCommand, t as ArMSetCommand, u as ArMSetValues, v as ArNextCommand, w as ArOpCommand, x as ArOpOperation, y as ArRingCommand, z as ArScanCommand, B as ArScanOptions, C as ArSeekCommand, D as ArSetCommand, E as BitCountCommand, F as BitOpCommand, G as BitPosCommand, I as ClientSetInfoAttribute, J as ClientSetInfoCommand, K as CopyCommand, L as DBSizeCommand, M as DecrByCommand, N as DecrCommand, O as DelCommand, P as EchoCommand, Q as EvalCommand, S as EvalROCommand, T as EvalshaCommand, U as EvalshaROCommand, V as ExistsCommand, W as ExpireAtCommand, X as ExpireCommand, Y as ExpireOption, Z as FlushAllCommand, _ as FlushDBCommand, $ as GeoAddCommand, a0 as GeoAddCommandOptions, a1 as GeoDistCommand, a2 as GeoHashCommand, a3 as GeoMember, a4 as GeoPosCommand, a5 as GeoSearchCommand, a6 as GeoSearchStoreCommand, a7 as GetBitCommand, a8 as GetCommand, a9 as GetDelCommand, aa as GetExCommand, ab as GetRangeCommand, ac as GetSetCommand, ad as HDelCommand, ae as HExistsCommand, af as HExpireAtCommand, ag as HExpireCommand, ah as HExpireTimeCommand, ai as HGetAllCommand, aj as HGetCommand, ak as HGetDelCommand, al as HGetExCommand, am as HIncrByCommand, an as HIncrByFloatCommand, ao as HKeysCommand, ap as HLenCommand, aq as HMGetCommand, ar as HMSetCommand, as as HPExpireAtCommand, at as HPExpireCommand, au as HPExpireTimeCommand, av as HPTtlCommand, aw as HPersistCommand, ax as HRandFieldCommand, ay as HScanCommand, az as HSetCommand, aA as HSetExCommand, aB as HSetNXCommand, aC as HStrLenCommand, aD as HTtlCommand, aE as HValsCommand, aF as IncrByCommand, aG as IncrByFloatCommand, aH as IncrCommand, aI as JsonArrAppendCommand, aJ as JsonArrIndexCommand, aK as JsonArrInsertCommand, aL as JsonArrLenCommand, aM as JsonArrPopCommand, aN as JsonArrTrimCommand, aO as JsonClearCommand, aP as JsonDelCommand, aQ as JsonForgetCommand, aR as JsonGetCommand, aS as JsonMGetCommand, aT as JsonMergeCommand, aU as JsonNumIncrByCommand, aV as JsonNumMultByCommand, aW as JsonObjKeysCommand, aX as JsonObjLenCommand, aY as JsonRespCommand, aZ as JsonSetCommand, a_ as JsonStrAppendCommand, a$ as JsonStrLenCommand, b0 as JsonToggleCommand, b1 as JsonTypeCommand, b2 as KeysCommand, b3 as LIndexCommand, b4 as LInsertCommand, b5 as LLenCommand, b6 as LMoveCommand, b7 as LPopCommand, b8 as LPushCommand, b9 as LPushXCommand, ba as LRangeCommand, bb as LRemCommand, bc as LSetCommand, bd as LTrimCommand, be as MGetCommand, bf as MSetCommand, bg as MSetNXCommand, bh as PExpireAtCommand, bi as PExpireCommand, bj as PSetEXCommand, bk as PTtlCommand, bl as PersistCommand, bm as PingCommand, bn as Pipeline, bo as PublishCommand, bp as RPopCommand, bq as RPushCommand, br as RPushXCommand, bs as RandomKeyCommand, bt as RenameCommand, bu as RenameNXCommand, bv as Requester, bw as SAddCommand, bx as SCardCommand, by as SDiffCommand, bz as SDiffStoreCommand, bA as SInterCardCommand, bB as SInterCommand, bC as SInterStoreCommand, bD as SIsMemberCommand, bE as SMIsMemberCommand, bF as SMembersCommand, bG as SMoveCommand, bH as SPopCommand, bI as SRandMemberCommand, bJ as SRemCommand, bK as SScanCommand, bL as SUnionCommand, bM as SUnionStoreCommand, bN as ScanCommand, bO as ScanCommandOptions, bP as ScoreMember, bQ as ScriptExistsCommand, bR as ScriptFlushCommand, bS as ScriptLoadCommand, bT as SetBitCommand, bU as SetCommand, bV as SetCommandOptions, bW as SetExCommand, bX as SetNxCommand, bY as SetRangeCommand, bZ as StrLenCommand, b_ as TimeCommand, b$ as TouchCommand, c0 as TtlCommand, c1 as Type, c2 as TypeCommand, c3 as UnlinkCommand, c4 as UpstashRequest, c5 as UpstashResponse, c6 as VectorAddCommand, c7 as VectorCountCommand, c8 as VectorCreateCommand, c9 as VectorDelCommand, ca as VectorDropCommand, cb as VectorGetCommand, cc as VectorInfoCommand, cd as VectorQueryCommand, ce as XAckDelCommand, cf as XAddCommand, cg as XDelExCommand, ch as XRangeCommand, ci as ZAddCommand, cj as ZAddCommandOptions, ck as ZCardCommand, cl as ZCountCommand, cm as ZDiffStoreCommand, cn as ZIncrByCommand, co as ZInterStoreCommand, cp as ZInterStoreCommandOptions, cq as ZLexCountCommand, cr as ZMScoreCommand, cs as ZPopMaxCommand, ct as ZPopMinCommand, cu as ZRangeCommand, cv as ZRangeCommandOptions, cw as ZRankCommand, cx as ZRemCommand, cy as ZRemRangeByLexCommand, cz as ZRemRangeByRankCommand, cA as ZRemRangeByScoreCommand, cB as ZRevRankCommand, cC as ZScanCommand, cD as ZScoreCommand, cE as ZUnionCommand, cF as ZUnionCommandOptions, cG as ZUnionStoreCommand, cH as ZUnionStoreCommandOptions, cI as errors } from './error-DOszGRxg.mjs'; /** * Connection credentials for upstash redis. * Get them from https://console.upstash.com/redis/ */ type RedisConfigFastly = { /** * UPSTASH_REDIS_REST_URL */ url: string | undefined; /** * UPSTASH_REDIS_REST_TOKEN */ token: string | undefined; /** * A Request can be forwarded to any backend defined on your service. Backends * can be created via the Fastly CLI, API, or web interface, and are * referenced by name. */ backend: string; keepAlive?: boolean; /** * When this flag is enabled, any subsequent commands issued by this client are guaranteed to observe the effects of all earlier writes submitted by the same client. */ readYourWrites?: boolean; } & RedisOptions & RequesterConfig; /** * Serverless redis client for upstash. */ declare class Redis extends Redis$1 { /** * Create a new redis client * * @example * ```typescript * const redis = new Redis({ * url: "", * token: "", * backend: "upstash-db", * }); * ``` */ constructor(config: RedisConfigFastly); } export { Redis, type RedisConfigFastly };