UNPKG

@dialog-db/query

Version:

Datalog query engine inspired by Datomic

16 lines 782 B
export * from "../api.js"; export function is<T extends {} | null>(value: unknown | API.Link<T>): value is API.Link<T>; export function equal(self: API.Link, other: API.Link): boolean; export function toJSON(self: API.Link): JSON; export function fromJSON(json: JSON): API.Link; export function toString(self: API.Link): string; export function toBytes<Link extends API.Link>(self: Link): API.ByteView<Link>; export function fromBytes(bytes: Uint8Array): API.Link; export function of<Value extends {} | null>(value: Value): API.Link<Value, typeof CBOR.code, 30>; export function compare(self: API.Link, other: API.Link): 0 | 1 | -1; export type JSON = { "/": string; }; import * as API from '../api.js'; import * as CBOR from '@ipld/dag-cbor'; //# sourceMappingURL=link.d.ts.map