import { DataType } from '../interfaces'; import { _IType } from '../interfaces-private'; import { Box, Circle, Line, Path, Point, Polygon, Segment } from 'pgsql-ast-parser'; import { Evaluator } from '../evaluator'; import { TypeBase } from './datatype-base'; export declare function pointToStr(p: Point): string; export declare function pointEq(a: Point, b: Point): boolean; export declare class PointType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals(a: Point, b: Point): boolean; doGt(a: Point, b: Point): boolean; doLt(a: Point, b: Point): boolean; } export declare class LineType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals(a: Line, b: Line): boolean; } export declare class LsegType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals([as, ae]: Segment, [bs, be]: Segment): boolean; } export declare class BoxType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals([as, ae]: Box, [bs, be]: Box): boolean; } export declare class PathType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals(a: Path, b: Path): boolean; } export declare class PolygonType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals(a: Polygon, b: Polygon): boolean; } export declare class CircleType extends TypeBase { get primary(): DataType; get name(): string; doCanCast(t: _IType): boolean; doCast(value: Evaluator, to: _IType): Evaluator; doEquals(a: Circle, b: Circle): boolean; } //# sourceMappingURL=datatypes-geometric.d.ts.map