/** * postgres-mcp - Monitoring Tool Schemas * * Input validation schemas for database monitoring. */ import { z } from "zod"; export declare const DatabaseSizeSchemaBase: z.ZodObject<{ database: z.ZodOptional; }, z.core.$strip>; export declare const ConnectionStatsSchemaBase: z.ZodObject<{ database: z.ZodOptional; }, z.core.$strip>; export declare const ConnectionStatsSchema: z.ZodPreprocess; }, z.core.$strip>>; export declare const DatabaseSizeSchema: z.ZodPreprocess; }, z.core.$strip>>; export declare const TableSizesSchemaBase: z.ZodObject<{ schema: z.ZodOptional; pattern: z.ZodOptional; table: z.ZodOptional; name: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>; export declare const TableSizesSchema: z.ZodPreprocess; pattern: z.ZodOptional; table: z.ZodOptional; name: z.ZodOptional; limit: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ schema: string | undefined; pattern: string | undefined; limit: number | undefined; }, { schema?: string | undefined; pattern?: string | undefined; table?: string | undefined; name?: string | undefined; limit?: number | undefined; }>>>; export declare const ShowSettingsSchemaBase: z.ZodObject<{ pattern: z.ZodOptional; like: z.ZodOptional; setting: z.ZodOptional; name: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>; export declare const ShowSettingsSchema: z.ZodPreprocess; like: z.ZodOptional; setting: z.ZodOptional; name: z.ZodOptional; limit: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ pattern: string | undefined; limit: number | undefined; }, { pattern?: string | undefined; like?: string | undefined; setting?: string | undefined; name?: string | undefined; limit?: number | undefined; }>>>; export declare const AlertThresholdSetSchemaBase: z.ZodObject<{ metric: z.ZodOptional; warning_threshold: z.ZodOptional; warningThreshold: z.ZodOptional; critical_threshold: z.ZodOptional; criticalThreshold: z.ZodOptional; }, z.core.$strip>; export declare const AlertThresholdSetSchema: z.ZodPreprocess; warning_threshold: z.ZodOptional; warningThreshold: z.ZodOptional; critical_threshold: z.ZodOptional; criticalThreshold: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ metric: string | undefined; warningThreshold: string | undefined; criticalThreshold: string | undefined; }, { metric?: string | undefined; warning_threshold?: string | undefined; warningThreshold?: string | undefined; critical_threshold?: string | undefined; criticalThreshold?: string | undefined; }>>>; export declare const CapacityPlanningSchemaBase: z.ZodObject<{ projectionDays: z.ZodOptional; days: z.ZodOptional; }, z.core.$strip>; export declare const CapacityPlanningSchema: z.ZodPreprocess>>; days: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ projectionDays: number; days?: number | undefined; }, { projectionDays?: number | undefined; days?: number | undefined; }>>>; export declare const SystemHealthSchemaBase: z.ZodObject<{}, z.core.$strip>; export declare const SystemHealthSchema: z.ZodPreprocess>; /** * pg_database_size output */ export declare const DatabaseSizeOutputSchema: z.ZodObject<{ bytes: z.ZodOptional; size: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_table_sizes output */ export declare const TableSizesOutputSchema: z.ZodObject<{ tables: z.ZodOptional>>; count: z.ZodOptional; totalCount: z.ZodOptional; truncated: z.ZodOptional; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_connection_stats output */ export declare const ConnectionStatsOutputSchema: z.ZodObject<{ byDatabaseAndState: z.ZodOptional; state: z.ZodNullable; connections: z.ZodNumber; }, z.core.$strip>>>; totalConnections: z.ZodOptional; maxConnections: z.ZodOptional; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_replication_status output (primary or replica) */ export declare const ReplicationStatusOutputSchema: z.ZodObject<{ role: z.ZodOptional; replay_lag: z.ZodOptional; receive_lsn: z.ZodOptional>; replay_lsn: z.ZodOptional>; replicas: z.ZodOptional>>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_server_version output */ export declare const ServerVersionOutputSchema: z.ZodObject<{ full_version: z.ZodOptional; version: z.ZodOptional; version_num: z.ZodOptional; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_show_settings output */ export declare const ShowSettingsOutputSchema: z.ZodObject<{ settings: z.ZodOptional; category: z.ZodString; short_desc: z.ZodString; }, z.core.$strip>>>; count: z.ZodOptional; totalCount: z.ZodOptional; truncated: z.ZodOptional; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_uptime output */ export declare const UptimeOutputSchema: z.ZodObject<{ start_time: z.ZodOptional; uptime: z.ZodOptional>; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_recovery_status output */ export declare const RecoveryStatusOutputSchema: z.ZodObject<{ in_recovery: z.ZodOptional; last_replay_timestamp: z.ZodOptional>; success: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_capacity_planning output */ export declare const CapacityPlanningOutputSchema: z.ZodObject<{ current: z.ZodOptional>; tableCount: z.ZodNumber; totalRows: z.ZodNumber; connections: z.ZodString; }, z.core.$strip>>; growth: z.ZodOptional>; projection: z.ZodOptional>; recommendations: z.ZodOptional>; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_system_health output */ export declare const SystemHealthOutputSchema: z.ZodObject<{ backgroundWriter: z.ZodOptional; buffers_backend: z.ZodOptional; }, z.core.$strip>>; checkpoints: z.ZodOptional; }, z.core.$strip>>; connectionDistribution: z.ZodOptional; wait_event_type: z.ZodNullable; wait_event: z.ZodNullable; count: z.ZodNumber; }, z.core.$strip>>>; bufferUsage: z.ZodOptional>; activity: z.ZodOptional>; analysis: z.ZodOptional>; success: 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 AlertThresholdOutputSchema: z.ZodObject<{ metric: z.ZodOptional; threshold: z.ZodOptional>; thresholds: z.ZodOptional>>; note: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; //# sourceMappingURL=monitoring.d.ts.map