import { type KVNamespace } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/types.ts";
Methods
get(key: string, options: { type?: "stream"; }): Promise<ReadableStream | null>
getWithMetadata(key: string, options: { type?: "stream"; }): Promise<{ value: ReadableStream | null; metadata: { [x: string]: any; }; }>
put(): Promise<void>
key: string,
value: string | ArrayBuffer | ReadableStream,
options?: { expiration?: number; expirationTtl?: number; metadata?: { [x: string]: any; }; },