import { Geometry } from './geometry';
import { Coordinates, GeometryOptions } from './types';
import { Point } from './point';
import { LineString as GeoJSONLineString } from 'geojson';

export declare class LineString extends Geometry {
    points: Point[];
    constructor(points?: Point[], srid?: number);
    static Z(points?: Point[], srid?: number): LineString;
    static M(points?: Point[], srid?: number): LineString;
    static ZM(points?: Point[], srid?: number): LineString;
    toWkt(isNested?: boolean): string;
    private toInnerWkt;
    toWkb(parentOptions?: GeometryOptions): Buffer;
    toTwkb(previousPoint?: Point, isNested?: boolean): Buffer;
    getWkbSize(): number;
    toGeoJSON(): GeoJSONLineString;
    toGeoJSON(isNested: true): Coordinates<GeoJSONLineString>;
}
//# sourceMappingURL=linestring.d.ts.map