UNPKG

@tai-kun/surrealdb

Version:

The SurrealDB SDK for JavaScript

27 lines 855 B
import { Future as Base } from "@tai-kun/surrealdb/encodable-datatypes"; import type { Standard } from "./spec"; export type * from "../encodable/future"; /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/data/future) * @experimental */ export default class Future extends Base implements Standard { static raw(value: RawValue): Raw; static surql(texts: readonly string[] | TemplateStringsArray, ...values: unknown[]): string; block: string; clone(): this; } export type RawValue = string | { readonly toSurql: () => string; } | { readonly toString: () => string; } | { readonly [Symbol.toPrimitive]: (hint: "string") => string; }; declare class Raw { protected _val: RawValue; protected _str: string; constructor(value: RawValue); toString(): string; } //# sourceMappingURL=future.d.ts.map