import 'graphile-build'; import 'graphile-build-pg'; import type { GraphileConfig } from 'graphile-config'; import '../types'; /** * PostgisTransformationFieldsPlugin * * Adds transformation fields to PostGIS geometry/geography object types: * * - `centroid`: The geometric centroid of the geometry (client-side calculation) * - `bbox`: The bounding box of the geometry as [minX, minY, maxX, maxY] * - `numPoints`: Number of coordinate points in the geometry * * These are client-side transformations computed from GeoJSON coordinates. * For server-side PostGIS transformations (ST_Transform, ST_Buffer, ST_Simplify, * ST_MakeValid), use SQL computed columns or custom mutations. * * Note: ST_Transform, ST_Buffer, ST_Simplify, and ST_MakeValid take parameters * (target SRID, buffer distance, simplification tolerance) that make them better * suited as custom SQL functions or mutation fields rather than static object fields. */ export declare const PostgisTransformationFieldsPlugin: GraphileConfig.Plugin;