/** * postgres-mcp - pgvector Output Schemas * * Output validation schemas for MCP 2025-11-25 structured content compliance. */ import { z } from "zod"; /** * Output schema for pg_vector_create_extension */ export declare const VectorCreateExtensionOutputSchema: z.ZodObject<{ success: z.ZodOptional; message: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_add_column */ export declare const VectorAddColumnOutputSchema: z.ZodObject<{ success: z.ZodBoolean; table: z.ZodOptional; column: z.ZodOptional; dimensions: z.ZodOptional; ifNotExists: z.ZodOptional; alreadyExists: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_insert */ export declare const VectorInsertOutputSchema: z.ZodObject<{ success: z.ZodBoolean; rowsAffected: z.ZodOptional; mode: z.ZodOptional>; columnsUpdated: z.ZodOptional; error: z.ZodOptional; expectedDimensions: z.ZodOptional; providedDimensions: z.ZodOptional; requiredParams: z.ZodOptional>; rawError: z.ZodOptional; example: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_search */ export declare const VectorSearchOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; metric: z.ZodOptional; truncated: z.ZodOptional; hint: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; expectedDimensions: z.ZodOptional; providedDimensions: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_create_index */ export declare const VectorCreateIndexOutputSchema: z.ZodObject<{ success: z.ZodBoolean; index: z.ZodOptional; type: z.ZodOptional; metric: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; appliedParams: z.ZodOptional>; ifNotExists: z.ZodOptional; alreadyExists: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_distance */ export declare const VectorDistanceOutputSchema: z.ZodObject<{ success: z.ZodOptional; distance: z.ZodOptional>; metric: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_normalize */ export declare const VectorNormalizeOutputSchema: z.ZodObject<{ success: z.ZodOptional; normalized: z.ZodOptional>; magnitude: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_aggregate */ export declare const VectorAggregateOutputSchema: z.ZodObject<{ success: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; count: z.ZodOptional; average_vector: z.ZodOptional>; dimensions: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strip>>>; groups: z.ZodOptional>; dimensions: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>>>; note: z.ZodOptional; error: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_cluster */ export declare const VectorClusterOutputSchema: z.ZodObject<{ success: z.ZodOptional; k: z.ZodOptional; iterations: z.ZodOptional; sampleSize: z.ZodOptional; centroids: z.ZodOptional>; preview: z.ZodOptional>; dimensions: z.ZodOptional; truncated: z.ZodOptional; }, z.core.$strip>>>; note: z.ZodOptional; error: z.ZodOptional; availableDataPoints: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_index_optimize */ export declare const VectorIndexOptimizeOutputSchema: z.ZodObject<{ success: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; dimensions: z.ZodOptional>; estimatedRows: z.ZodOptional; tableSize: z.ZodOptional; existingIndexes: z.ZodOptional>>; recommendations: z.ZodOptional; m: z.ZodOptional; efConstruction: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>>>; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_hybrid_search */ export declare const HybridSearchOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; vectorWeight: z.ZodOptional; textWeight: z.ZodOptional; error: z.ZodOptional; expectedDimensions: z.ZodOptional; providedDimensions: z.ZodOptional; parameterWithIssue: z.ZodOptional; columnType: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_performance */ export declare const VectorPerformanceOutputSchema: z.ZodObject<{ success: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; tableSize: z.ZodOptional; estimatedRows: z.ZodOptional; indexes: z.ZodOptional; idx_tup_read: z.ZodNullable; }, z.core.$strip>>>; benchmark: z.ZodOptional>>>; recommendations: z.ZodOptional>; testVectorSource: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; requiredParams: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_dimension_reduce */ export declare const VectorDimensionReduceOutputSchema: z.ZodObject<{ success: z.ZodOptional; originalDimensions: z.ZodOptional; targetDimensions: z.ZodOptional; reducedVector: z.ZodOptional>; seed: z.ZodOptional; note: z.ZodOptional; table: z.ZodOptional; column: z.ZodOptional; rows: z.ZodOptional; preview: z.ZodOptional>; dimensions: z.ZodOptional; truncated: z.ZodOptional; }, z.core.$strip>>>; rowsProcessed: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_embed */ export declare const VectorEmbedOutputSchema: z.ZodObject<{ success: z.ZodOptional; text: z.ZodOptional; dimensions: z.ZodOptional; embedding: z.ZodOptional>; dimensions: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strip>>; note: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_validate */ export declare const VectorValidateOutputSchema: z.ZodObject<{ valid: z.ZodOptional; vectorDimensions: z.ZodOptional; columnDimensions: z.ZodOptional; expectedDimensions: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for pg_vector_batch_insert */ export declare const VectorBatchInsertOutputSchema: z.ZodObject<{ success: z.ZodOptional; rowsInserted: z.ZodOptional; rowsAffected: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; expectedDimensions: z.ZodOptional; providedDimensions: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; //# sourceMappingURL=output.d.ts.map