import type { IncrementOptions, KeysPage, Kv, ScopeContext, ScopeInfo, SetOptions } from "./types.js"; export declare class HttpKv implements Kv { private readonly baseUrl; private readonly context; private readonly authToken; private readonly fetchImpl; constructor(baseUrl: string, context: ScopeContext, authToken: string, fetchImpl?: typeof fetch); get(key: string): Promise; set(key: string, value: T, opts: SetOptions): Promise; delete(key: string): Promise; has(key: string): Promise; keys(opts?: { prefix?: string; limit?: number; cursor?: string; }): Promise; increment(key: string, opts: IncrementOptions): Promise; decrement(key: string, opts: IncrementOptions): Promise; mget(keys: string[]): Promise>; scope(): Promise; /** * One shared retry budget (`retried`) covers BOTH retry triggers — * a network failure and a 5xx response — so a retryable op makes * at most 2 total requests, never 3. (A network failure on attempt * 1 followed by a 5xx on attempt 2 must throw immediately, not * spend a third attempt the budget doesn't have.) */ private call; } //# sourceMappingURL=http.d.ts.map