import { KV, KvKey } from "$sb/types.ts"; export type KvQueryOptions = { prefix?: KvKey; }; export interface KvPrimitives { batchGet(keys: KvKey[]): Promise<(any | undefined)[]>; batchSet(entries: KV[]): Promise; batchDelete(keys: KvKey[]): Promise; query(options: KvQueryOptions): AsyncIterableIterator; }