/** * Redis reachability probe for tests. * * `@redis/client` is an optional peer and redis is no longer required to run the * framework, so a clean checkout with no redis must not produce red tests. The * redis-backed suites previously timed out at 10s each with no explanation — * a contributor's first impression was two failures and a 20s stall. * * A bare TCP connect is deliberate: node-redis retries the initial connect with * backoff rather than rejecting, so asking the client itself "are you up?" hangs * instead of answering. One socket, short timeout, no dependency on the optional * peer being installed at all. */ /** * Can we open a TCP socket to the configured redis? Probed once per process. * * The timeout is deliberately generous: `node:test` starts many file processes * at once, and a short budget made the probe lose the race under that load — * one suite skipped while its sibling ran against the SAME live redis. A skip * that depends on machine load is worse than no skip at all. */ export declare function isRedisReachable(timeoutMs?: number): Promise; /** * `false` when redis is up (run the suite), or a reason string when it is not — * exactly the shape `describe(name, { skip }, fn)` wants, so the reason is * printed instead of the suite silently vanishing. */ export declare function redisSkip(): Promise;