/** * postgres-mcp - pg_stat_kcache Extension Schemas * * Input validation and output schemas for pg_stat_kcache tools. */ import { z } from "zod"; /** * Schema for querying enhanced statistics with kcache data. * Joins pg_stat_statements with pg_stat_kcache for full picture. */ export declare const KcacheQueryStatsSchema: z.ZodObject<{ limit: z.ZodOptional; dbname: z.ZodOptional; username: z.ZodOptional; orderBy: z.ZodOptional; minCalls: z.ZodOptional; queryPreviewLength: z.ZodOptional; compact: z.ZodOptional; }, z.core.$strip>; /** * Base schema for MCP visibility - pg_kcache_top_cpu parameters. */ export declare const KcacheTopCpuSchema: z.ZodObject<{ limit: z.ZodOptional; queryPreviewLength: z.ZodOptional; compact: z.ZodOptional; }, z.core.$strip>; /** * Base schema for MCP visibility - pg_kcache_top_io parameters. */ export declare const KcacheTopIoSchema: z.ZodObject<{ type: z.ZodOptional; ioType: z.ZodOptional; limit: z.ZodOptional; queryPreviewLength: z.ZodOptional; compact: z.ZodOptional; }, z.core.$strip>; /** * Schema for database-level aggregation. */ export declare const KcacheDatabaseStatsSchema: z.ZodObject<{ database: z.ZodOptional; compact: z.ZodOptional; }, z.core.$strip>; /** * Schema for identifying resource-bound queries. */ export declare const KcacheResourceAnalysisSchema: z.ZodObject<{ queryId: z.ZodOptional; threshold: z.ZodOptional; limit: z.ZodOptional; minCalls: z.ZodOptional; queryPreviewLength: z.ZodOptional; compact: z.ZodOptional; }, z.core.$strip>; /** * Base schema for MCP visibility - pg_kcache_create_extension parameters. */ export declare const KcacheCreateExtensionSchema: z.ZodObject<{}, z.core.$strip>; /** * Base schema for MCP visibility - pg_kcache_reset parameters. */ export declare const KcacheResetSchema: z.ZodObject<{}, z.core.$strip>; /** * Output schema for pg_kcache_create_extension */ export declare const KcacheCreateExtensionOutputSchema: z.ZodObject<{ success: z.ZodOptional; message: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; hint: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_query_stats */ export declare const KcacheQueryStatsOutputSchema: z.ZodObject<{ success: z.ZodOptional; queries: z.ZodOptional>>; count: z.ZodOptional; orderBy: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_top_cpu */ export declare const KcacheTopCpuOutputSchema: z.ZodObject<{ success: z.ZodOptional; queries: z.ZodOptional>>; count: z.ZodOptional; description: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_top_io */ export declare const KcacheTopIoOutputSchema: z.ZodObject<{ success: z.ZodOptional; queries: z.ZodOptional>>; count: z.ZodOptional; ioType: z.ZodOptional>; description: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_database_stats */ export declare const KcacheDatabaseStatsOutputSchema: z.ZodObject<{ success: z.ZodOptional; stats: z.ZodOptional>>; count: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_resource_analysis */ export declare const KcacheResourceAnalysisOutputSchema: z.ZodObject<{ success: z.ZodOptional; queries: z.ZodOptional>>; count: z.ZodOptional; summary: z.ZodOptional>; recommendations: z.ZodOptional>; truncated: z.ZodOptional; totalCount: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; /** * Output schema for pg_kcache_reset */ export declare const KcacheResetOutputSchema: z.ZodObject<{ success: z.ZodOptional; message: z.ZodOptional; note: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; //# sourceMappingURL=kcache.d.ts.map