/** * postgres-mcp - PostGIS Output Schemas * * Output validation schemas for MCP 2025-11-25 structured content compliance. */ import { z } from "zod"; /** * Output schema for pg_postgis_create_extension */ export declare const PostgisCreateExtensionOutputSchema: z.ZodObject<{ success: z.ZodOptional; message: z.ZodOptional; alreadyExists: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geometry_column */ export declare const GeometryColumnOutputSchema: z.ZodObject<{ success: z.ZodBoolean; table: z.ZodOptional; column: z.ZodOptional; srid: z.ZodOptional; type: z.ZodOptional; schema: z.ZodOptional; alreadyExists: z.ZodOptional; error: z.ZodOptional; suggestion: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_point_in_polygon */ export declare const PointInPolygonOutputSchema: z.ZodObject<{ success: z.ZodOptional; containingPolygons: z.ZodOptional>>; count: z.ZodOptional; warning: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_distance */ export declare const DistanceOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_buffer (table-based) */ export declare const BufferOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; truncated: z.ZodOptional; totalCount: z.ZodOptional; limit: z.ZodOptional; simplified: z.ZodOptional; simplifyTolerance: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_intersection (table-based) */ export declare const IntersectionOutputSchema: z.ZodObject<{ success: z.ZodOptional; intersecting: z.ZodOptional>>; count: z.ZodOptional; sridUsed: z.ZodOptional>; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_bounding_box */ export declare const BoundingBoxOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_spatial_index */ export declare const SpatialIndexOutputSchema: z.ZodObject<{ success: z.ZodBoolean; index: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; schema: z.ZodOptional; alreadyExists: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; suggestion: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geocode */ export declare const GeocodeOutputSchema: z.ZodObject<{ success: z.ZodOptional; geojson: z.ZodOptional; wkt: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geo_transform (table-based) */ export declare const GeoTransformOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; fromSrid: z.ZodOptional; toSrid: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; limit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geo_index_optimize */ export declare const GeoIndexOptimizeOutputSchema: z.ZodObject<{ success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; spatialIndexes: z.ZodOptional>>; tableStats: z.ZodOptional>>; recommendations: z.ZodOptional>; tips: z.ZodOptional>; warning: z.ZodOptional; table: z.ZodOptional; schema: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geo_cluster */ export declare const GeoClusterOutputSchema: z.ZodObject<{ method: z.ZodOptional; parameters: z.ZodOptional>; summary: z.ZodOptional>; clusters: z.ZodOptional; point_count: z.ZodNumber; centroid: z.ZodOptional; hull: z.ZodOptional; }, z.core.$strip>>>; warning: z.ZodOptional; requestedClusters: z.ZodOptional; actualClusters: z.ZodOptional; notes: z.ZodOptional; hints: z.ZodOptional>; parameterGuide: z.ZodOptional>; error: z.ZodOptional; table: z.ZodOptional; numClusters: z.ZodOptional; rowCount: z.ZodOptional; suggestion: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geometry_buffer (standalone) */ export declare const GeometryBufferOutputSchema: z.ZodObject<{ success: z.ZodOptional; buffer_geojson: z.ZodOptional>; distance_meters: z.ZodOptional; srid: z.ZodOptional; inputFormat: z.ZodOptional; simplified: z.ZodOptional; simplifyTolerance: z.ZodOptional; warning: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geometry_intersection (standalone) */ export declare const GeometryIntersectionOutputSchema: z.ZodObject<{ success: z.ZodOptional; intersects: z.ZodOptional; intersection_geojson: z.ZodOptional>; intersection_area_sqm: z.ZodOptional>; geometry1Format: z.ZodOptional; geometry2Format: z.ZodOptional; sridUsed: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_geometry_transform (standalone) */ export declare const GeometryTransformOutputSchema: z.ZodObject<{ success: z.ZodOptional; transformed_geojson: z.ZodOptional; fromSrid: z.ZodOptional; toSrid: z.ZodOptional; inputFormat: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; //# sourceMappingURL=output.d.ts.map