import 'graphile-build'; import 'graphile-build-pg'; import type { GraphileConfig } from 'graphile-config'; import '../types'; /** * PostgisRegisterTypesPlugin * * The core plugin that: * 1. Registers a GeoJSON scalar type * 2. Creates GraphQL interfaces for geometry/geography base types * 3. Creates GraphQL interfaces for each dimension combination (XY, XYZ, XYM, XYZM) * 4. Creates concrete GraphQL object types for each subtype/dimension combo * 5. Registers codec-to-type mappings so PostGraphile knows how to handle * geometry/geography columns * * In v5, type registration is done during the init hook using * build.registerObjectType / build.registerInterfaceType / build.registerScalarType. * * The SQL tweak wraps geometry/geography values in json_build_object() containing * __gisType, __srid, and __geojson fields, which downstream resolvers use. */ export declare const PostgisRegisterTypesPlugin: GraphileConfig.Plugin;