UNPKG

@tai-kun/surrealdb

Version:

The SurrealDB SDK for JavaScript

17 lines 563 B
import { Uuid as Base } from "@tai-kun/surrealdb/decodeonly-datatypes"; import { CBOR_TAG_UUID, type Encodable } from "./spec"; export type * from "../decode-only/uuid"; /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/data/uuid) */ export default class Uuid extends Base implements Encodable { valueOf(): string; toString(): string; toCBOR(): [tag: typeof CBOR_TAG_UUID, value: Uint8Array]; toJSON(): string; toSurql(): string; toPlainObject(): { bytes: Uint8Array; }; } //# sourceMappingURL=uuid.d.ts.map