UNPKG

@deno/kv

Version:

A Deno KV client library optimized for Node.js.

13 lines (12 loc) 707 B
export declare namespace $.com.deno.kv.datapath { type WatchKey = { key: Uint8Array; }; } export type Type = $.com.deno.kv.datapath.WatchKey; export declare function getDefaultValue(): $.com.deno.kv.datapath.WatchKey; export declare function createValue(partialValue: Partial<$.com.deno.kv.datapath.WatchKey>): $.com.deno.kv.datapath.WatchKey; export declare function encodeJson(value: $.com.deno.kv.datapath.WatchKey): unknown; export declare function decodeJson(value: any): $.com.deno.kv.datapath.WatchKey; export declare function encodeBinary(value: $.com.deno.kv.datapath.WatchKey): Uint8Array; export declare function decodeBinary(binary: Uint8Array): $.com.deno.kv.datapath.WatchKey;