/** * postgres-mcp - JSONB Advanced Schemas * * Schemas for advanced JSONB operations: normalize, stats, index suggest, security scan. * Also includes all JSONB output schemas. */ import { z } from "zod"; export declare const JsonbNormalizeSchemaBase: z.ZodObject<{ json: z.ZodOptional; table: z.ZodOptional; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; mode: z.ZodOptional; where: z.ZodOptional; filter: z.ZodOptional; idColumn: z.ZodOptional; limit: z.ZodOptional>; schema: z.ZodOptional; }, z.core.$strip>; export declare const JsonbNormalizeSchema: z.ZodPreprocess; table: z.ZodOptional; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; mode: z.ZodOptional; where: z.ZodOptional; filter: z.ZodOptional; idColumn: z.ZodOptional; schema: z.ZodOptional; limit: z.ZodOptional>>; }, z.core.$strip>>; export declare const JsonbStatsSchemaBase: z.ZodObject<{ table: z.ZodOptional; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; sampleSize: z.ZodOptional>; where: z.ZodOptional; filter: z.ZodOptional; topKeysLimit: z.ZodOptional; schema: z.ZodOptional; }, z.core.$strip>; export declare const JsonbStatsSchema: z.ZodPreprocess; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; where: z.ZodOptional; filter: z.ZodOptional; topKeysLimit: z.ZodOptional; schema: z.ZodOptional; sampleSize: z.ZodOptional>>; }, z.core.$strip>>; export declare const JsonbIndexSuggestSchemaBase: z.ZodObject<{ table: z.ZodOptional; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; sampleSize: z.ZodOptional>; where: z.ZodOptional; filter: z.ZodOptional; schema: z.ZodOptional; }, z.core.$strip>; export declare const JsonbIndexSuggestSchema: z.ZodPreprocess; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; where: z.ZodOptional; filter: z.ZodOptional; schema: z.ZodOptional; sampleSize: z.ZodOptional>>; }, z.core.$strip>>; export declare const JsonbSecurityScanSchemaBase: z.ZodObject<{ table: z.ZodOptional; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; sampleSize: z.ZodOptional>; where: z.ZodOptional; filter: z.ZodOptional; schema: z.ZodOptional; }, z.core.$strip>; export declare const JsonbSecurityScanSchema: z.ZodPreprocess; tableName: z.ZodOptional; column: z.ZodOptional; col: z.ZodOptional; where: z.ZodOptional; filter: z.ZodOptional; schema: z.ZodOptional; sampleSize: z.ZodOptional>>; }, z.core.$strip>>; export declare const JsonbMergeSchemaBase: z.ZodObject<{ base: z.ZodOptional; json1: z.ZodOptional; overlay: z.ZodOptional; json2: z.ZodOptional; deep: z.ZodOptional; mergeArrays: z.ZodOptional; }, z.core.$strip>; export declare const JsonbMergeSchema: z.ZodObject<{ base: z.ZodOptional; json1: z.ZodOptional; overlay: z.ZodOptional; json2: z.ZodOptional; deep: z.ZodOptional; mergeArrays: z.ZodOptional; }, z.core.$strip>; export declare const JsonbDiffSchemaBase: z.ZodObject<{ doc1: z.ZodOptional; doc2: z.ZodOptional; }, z.core.$strip>; export declare const JsonbDiffSchema: z.ZodObject<{ doc1: z.ZodOptional; doc2: z.ZodOptional; }, z.core.$strip>; export declare const JsonbExtractOutputSchema: z.ZodObject<{ rows: z.ZodOptional>>; count: z.ZodOptional; hint: 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 JsonbSetOutputSchema: z.ZodObject<{ rowsAffected: z.ZodOptional; hint: 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 JsonbInsertOutputSchema: z.ZodObject<{ rowsAffected: 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 JsonbDeleteOutputSchema: z.ZodObject<{ rowsAffected: z.ZodOptional; hint: 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 JsonbContainsOutputSchema: z.ZodObject<{ rows: z.ZodOptional>>; count: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; warning: 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 JsonbPathQueryOutputSchema: z.ZodObject<{ results: z.ZodOptional>; count: z.ZodOptional; truncated: z.ZodOptional; totalCount: 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 JsonbAggOutputSchema: z.ZodObject<{ result: z.ZodOptional; count: z.ZodOptional; grouped: z.ZodOptional; hint: 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 JsonbObjectOutputSchema: z.ZodObject<{ object: 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 JsonbArrayOutputSchema: z.ZodObject<{ array: 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 JsonbKeysOutputSchema: z.ZodObject<{ keys: z.ZodOptional>; count: z.ZodOptional; hint: 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 JsonbStripNullsOutputSchema: z.ZodObject<{ result: z.ZodOptional; rowsAffected: z.ZodOptional; preview: z.ZodOptional; rows: z.ZodOptional>>; count: z.ZodOptional; hint: 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 JsonbTypeofOutputSchema: z.ZodObject<{ types: z.ZodOptional>>; count: z.ZodOptional; columnNull: z.ZodOptional; hint: 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 JsonbValidatePathOutputSchema: z.ZodObject<{ valid: z.ZodOptional; path: z.ZodOptional; error: z.ZodOptional; results: z.ZodOptional>; varsUsed: z.ZodOptional; success: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; export declare const JsonbMergeOutputSchema: z.ZodObject<{ merged: z.ZodOptional; deep: z.ZodOptional; mergeArrays: 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 JsonbNormalizeOutputSchema: z.ZodObject<{ rows: z.ZodOptional>>; count: z.ZodOptional; truncated: z.ZodOptional; totalCount: z.ZodOptional; mode: z.ZodOptional; hint: 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 JsonbDiffOutputSchema: z.ZodObject<{ differences: z.ZodOptional; value1: z.ZodOptional; value2: z.ZodOptional; }, z.core.$strip>>>; hasDifferences: z.ZodOptional; comparison: z.ZodOptional; hint: 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 JsonbIndexSuggestOutputSchema: z.ZodObject<{ recommendations: z.ZodOptional>; keyDistribution: z.ZodOptional>>; existingIndexes: z.ZodOptional>>; hint: 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 JsonbSecurityScanOutputSchema: z.ZodObject<{ issues: z.ZodOptional; count: z.ZodOptional; severity: z.ZodOptional; }, z.core.$strip>>>; riskLevel: z.ZodOptional>; scannedRows: 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 JsonbStatsOutputSchema: z.ZodObject<{ basics: z.ZodOptional; avg_size_bytes: z.ZodOptional; max_size_bytes: z.ZodOptional; }, z.core.$strip>>; topKeys: z.ZodOptional>>; typeDistribution: z.ZodOptional; count: z.ZodNumber; }, z.core.$strip>>>; sqlNullCount: z.ZodOptional; hint: 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>; //# sourceMappingURL=advanced.d.ts.map