import { RangeBase as Base } from "@tai-kun/surrealdb/encodable-datatypes"; import BoundExcluded from "./bound-excluded"; import BoundIncluded from "./bound-included"; import type { Standard } from "./spec"; type BoundIncludedBase = new (source: any) => BoundIncluded; type BoundExcludedBase = new (source: any) => BoundExcluded; type Bound = InstanceType | InstanceType; export type RangeTypes = { readonly BoundIncluded: TBoundIncluded; readonly BoundExcluded: TBoundExcluded; }; export type RangeSource = readonly [ begin: Bound | null, end: Bound | null ]; /** * @experimental */ export declare class RangeBase extends Base implements Standard { begin: Bound | null; end: Bound | null; clone(): this; } /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/data/range) * @experimental */ export declare class Range extends RangeBase> { static readonly BoundIncluded: typeof BoundIncluded; static readonly BoundExcluded: typeof BoundExcluded; constructor(source: RangeSource); } export {}; //# sourceMappingURL=range.d.ts.map