import { Decimal as Base } from "@tai-kun/surrealdb/decodeonly-datatypes";
import { CBOR_TAG_DECIMAL, type Encodable } from "./spec";
export type * from "../decode-only/decimal";
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/data/decimal)
 */
export default class Decimal extends Base implements Encodable {
    [Symbol.toPrimitive](hint: "default" | "string"): string;
    [Symbol.toPrimitive](hint: "number"): number;
    [Symbol.toPrimitive](hint: string): string | number;
    toCBOR(): [
        tag: typeof CBOR_TAG_DECIMAL,
        value: string
    ];
    toJSON(): string;
    toSurql(): string;
    toPlainObject(): {
        value: string;
    };
}
//# sourceMappingURL=decimal.d.ts.map