UNPKG

@deno/kv

Version:

A Deno KV client library optimized for Node.js.

14 lines (13 loc) 731 B
import { Type as WatchKey } from "./WatchKey.js"; export declare namespace $.com.deno.kv.datapath { type Watch = { keys: WatchKey[]; }; } export type Type = $.com.deno.kv.datapath.Watch; export declare function getDefaultValue(): $.com.deno.kv.datapath.Watch; export declare function createValue(partialValue: Partial<$.com.deno.kv.datapath.Watch>): $.com.deno.kv.datapath.Watch; export declare function encodeJson(value: $.com.deno.kv.datapath.Watch): unknown; export declare function decodeJson(value: any): $.com.deno.kv.datapath.Watch; export declare function encodeBinary(value: $.com.deno.kv.datapath.Watch): Uint8Array; export declare function decodeBinary(binary: Uint8Array): $.com.deno.kv.datapath.Watch;