/** * PostgreSQL Core Tools - Output Schemas * * MCP 2025-11-25 structuredContent output schemas for core tools: * queries, tables, indexes, objects, health analysis. */ import { z } from "zod"; export declare const ReadQueryOutputSchema: z.ZodObject<{ success: z.ZodOptional; rows: z.ZodOptional>>; rowCount: z.ZodOptional; fields: z.ZodOptional; }, z.core.$strip>>>; executionTimeMs: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const WriteQueryOutputSchema: z.ZodObject<{ success: z.ZodOptional; operation: z.ZodOptional; rowsAffected: z.ZodOptional; insertedCount: z.ZodOptional; command: z.ZodOptional; executionTimeMs: z.ZodOptional; rows: z.ZodOptional>>; sql: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const TableListOutputSchema: z.ZodObject<{ tables: z.ZodOptional; rowCount: z.ZodOptional; sizeBytes: z.ZodOptional; totalSizeBytes: z.ZodOptional; comment: z.ZodOptional>; statsStale: z.ZodOptional; }, z.core.$strip>>>; count: z.ZodOptional; totalCount: z.ZodOptional; truncated: z.ZodOptional; hint: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const TableDescribeOutputSchema: z.ZodObject<{ success: z.ZodOptional; name: z.ZodOptional; schema: z.ZodOptional; type: z.ZodOptional; columns: z.ZodOptional; primaryKey: z.ZodOptional; }, z.core.$strip>>>; primaryKey: z.ZodOptional>>; foreignKeys: z.ZodOptional>>; indexes: z.ZodOptional>>; rowCount: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const TableOperationOutputSchema: z.ZodObject<{ success: z.ZodOptional; table: z.ZodOptional; dropped: z.ZodOptional; existed: z.ZodOptional; sql: z.ZodOptional; compositePrimaryKey: z.ZodOptional>; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const TruncateOutputSchema: z.ZodObject<{ success: z.ZodBoolean; table: z.ZodOptional; cascade: z.ZodOptional; restartIdentity: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const IndexListOutputSchema: z.ZodObject<{ success: z.ZodOptional; indexes: z.ZodOptional; tableName: z.ZodOptional; indexName: z.ZodOptional; schemaName: z.ZodOptional; schema: z.ZodOptional; type: z.ZodOptional; unique: z.ZodOptional; columns: z.ZodOptional>; }, z.core.$strip>>>; count: z.ZodOptional; totalCount: z.ZodOptional; truncated: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const IndexOperationOutputSchema: z.ZodObject<{ success: z.ZodOptional; message: z.ZodOptional; index: z.ZodOptional; table: z.ZodOptional; sql: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const ObjectListOutputSchema: z.ZodObject<{ success: z.ZodOptional; objects: z.ZodOptional; }, z.core.$strip>>>; count: z.ZodOptional; totalCount: z.ZodOptional; byType: z.ZodOptional>; truncated: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const ObjectDetailsOutputSchema: z.ZodObject<{ success: z.ZodOptional; name: z.ZodOptional; schema: z.ZodOptional; type: z.ZodOptional; owner: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const ExtensionListOutputSchema: z.ZodObject<{ extensions: z.ZodOptional; schema: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>>>; count: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const HealthAnalysisOutputSchema: z.ZodObject<{ cacheHitRatio: z.ZodOptional>; heap: z.ZodOptional>; index: z.ZodOptional>; status: z.ZodOptional; }, z.core.$strip>>; databaseSize: z.ZodOptional; tableStats: z.ZodOptional>; unusedIndexes: z.ZodOptional>; tablesNeedingVacuum: z.ZodOptional>; connections: z.ZodOptional>; isReplica: z.ZodOptional; bloat: z.ZodOptional>; overallScore: z.ZodOptional; overallStatus: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const IndexRecommendationsOutputSchema: z.ZodObject<{ recommendations: z.ZodOptional>>; queriesAnalyzed: z.ZodOptional; hint: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const QueryIndexAnalysisOutputSchema: z.ZodObject<{ sql: z.ZodOptional; plan: z.ZodOptional>; recommendations: z.ZodOptional>; issues: z.ZodOptional>; executionTime: z.ZodOptional; planningTime: z.ZodOptional; verbosity: z.ZodOptional; hint: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const CountOutputSchema: z.ZodObject<{ success: z.ZodOptional; count: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const ExistsOutputSchema: z.ZodObject<{ success: z.ZodOptional; exists: z.ZodOptional; table: z.ZodOptional; mode: z.ZodOptional>; where: z.ZodOptional; hint: z.ZodOptional; error: 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