import type { GraphileConfig } from 'graphile-config'; /** * GraphilePostgisPreset * * A preset that includes all PostGIS plugins for PostGraphile v5. * Use this as the recommended way to add PostGIS support. * * Includes: * - Geometry/geography type codecs and GeoJSON scalar * - PostGIS extension auto-detection * - PostGIS inflection (type names for subtypes, Z/M variants) * - Geometry field plugins (coordinates, GeoJSON output) * - Measurement fields (area, length, perimeter on geometry types) * - Transformation fields (centroid, bbox, numPoints on geometry types) * - Aggregate function definitions (ST_Extent, ST_Union, ST_Collect, ST_ConvexHull) * - Connection filter operators (26 spatial operators + withinDistance via declarative factory API) * * @example * ```typescript * import { GraphilePostgisPreset } from 'graphile-postgis'; * * const preset = { * extends: [GraphilePostgisPreset] * }; * ``` */ export declare const GraphilePostgisPreset: GraphileConfig.Preset; export default GraphilePostgisPreset;