import { GisSubtype } from './constants'; import type { GisTypeDetails } from './types'; /** * Decodes a PostGIS type modifier into its component parts. * * Implements the C macro bit layout from liblwgeom.h: * - SRID: bits 8-28 * - Subtype: bits 2-7 * - hasZ: bit 1 * - hasM: bit 0 */ export declare const getGISTypeDetails: (modifier: number) => GisTypeDetails; /** * Encodes PostGIS type details into a type modifier integer. */ export declare const getGISTypeModifier: (subtype: GisSubtype, hasZ: boolean, hasM: boolean, srid: number) => number; /** * Returns the GIS type name string for a given subtype and Z/M flags. * E.g. "PointZ", "MultiPolygonZM", "LineString" */ export declare const getGISTypeName: (subtype: GisSubtype, hasZ: boolean, hasM: boolean) => string;