/** * postgres-mcp - Document Store Tool Schemas * * Input validation and output schemas for document store tools. * 9 tools: list_collections, create_collection, drop_collection, * collection_info, find, add, modify, remove, create_index. */ import { z } from "zod"; /** * pg_doc_list_collections — list JSONB document collections in a schema */ export declare const ListCollectionsSchemaBase: z.ZodObject<{ schema: z.ZodOptional; }, z.core.$strip>; export declare const ListCollectionsSchema: z.ZodPreprocess; }, z.core.$strip>>; /** * pg_doc_create_collection — create a new JSONB document collection */ export declare const CreateCollectionSchemaBase: z.ZodObject<{ name: z.ZodOptional; collection: z.ZodOptional; schema: z.ZodOptional; ifNotExists: z.ZodOptional; }, z.core.$strip>; export declare const CreateCollectionSchema: z.ZodPreprocess; ifNotExists: z.ZodPreprocess>; }, z.core.$strip>>; /** * pg_doc_drop_collection — drop a document collection */ export declare const DropCollectionSchemaBase: z.ZodObject<{ name: z.ZodOptional; collection: z.ZodOptional; schema: z.ZodOptional; ifExists: z.ZodOptional; }, z.core.$strip>; export declare const DropCollectionSchema: z.ZodPreprocess; ifExists: z.ZodPreprocess>; }, z.core.$strip>>; /** * pg_doc_collection_info — get collection statistics */ export declare const CollectionInfoSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; }, z.core.$strip>; export declare const CollectionInfoSchema: z.ZodObject<{ collection: z.ZodString; schema: z.ZodOptional; }, z.core.$strip>; /** * pg_doc_find — query documents in a collection */ export declare const FindSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; filter: z.ZodOptional; fields: z.ZodOptional; limit: z.ZodOptional; offset: z.ZodOptional; }, z.core.$strip>; export declare const FindSchema: z.ZodObject<{ collection: z.ZodString; schema: z.ZodOptional; filter: z.ZodPreprocess>; fields: z.ZodPreprocess>>; limit: z.ZodPreprocess>; offset: z.ZodPreprocess>; }, z.core.$strip>; /** * pg_doc_add — add documents to a collection */ export declare const AddDocSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; documents: z.ZodOptional; }, z.core.$strip>; export declare const AddDocSchema: z.ZodObject<{ collection: z.ZodString; schema: z.ZodOptional; documents: z.ZodArray>; }, z.core.$strip>; /** * pg_doc_modify — update documents matching a filter */ export declare const ModifyDocSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; filter: z.ZodOptional; set: z.ZodOptional; unset: z.ZodOptional; }, z.core.$strip>; export declare const ModifyDocSchema: z.ZodObject<{ collection: z.ZodString; schema: z.ZodOptional; filter: z.ZodPreprocess; set: z.ZodOptional>; unset: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_remove — remove documents matching a filter */ export declare const RemoveDocSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; filter: z.ZodOptional; }, z.core.$strip>; export declare const RemoveDocSchema: z.ZodObject<{ collection: z.ZodString; schema: z.ZodOptional; filter: z.ZodPreprocess; }, z.core.$strip>; /** * pg_doc_create_index — create an index on document fields */ export declare const CreateDocIndexSchemaBase: z.ZodObject<{ collection: z.ZodOptional; schema: z.ZodOptional; name: z.ZodOptional; fields: z.ZodOptional; field: z.ZodOptional; unique: z.ZodOptional; }, z.core.$strip>; export declare const CreateDocIndexSchema: z.ZodPreprocess; name: z.ZodString; fields: z.ZodArray>; }, z.core.$strip>>; unique: z.ZodPreprocess>; }, z.core.$strip>>; /** * pg_doc_list_collections output */ export declare const ListCollectionsOutputSchema: z.ZodObject<{ success: z.ZodOptional; collections: z.ZodOptional; size: z.ZodOptional; }, z.core.$strip>>>; count: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_create_collection output */ export declare const CreateCollectionOutputSchema: z.ZodObject<{ success: z.ZodOptional; collection: z.ZodOptional; skipped: z.ZodOptional; reason: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_drop_collection output */ export declare const DropCollectionOutputSchema: z.ZodObject<{ success: z.ZodOptional; collection: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_collection_info output */ export declare const CollectionInfoOutputSchema: z.ZodObject<{ success: z.ZodOptional; collection: z.ZodOptional; stats: z.ZodOptional; tableSize: z.ZodOptional; indexSize: z.ZodOptional; }, z.core.$strip>>; indexes: z.ZodOptional>>; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_find output */ export declare const FindOutputSchema: z.ZodObject<{ success: z.ZodOptional; documents: 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>; /** * pg_doc_add output */ export declare const AddDocOutputSchema: z.ZodObject<{ success: z.ZodOptional; inserted: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_modify output */ export declare const ModifyDocOutputSchema: z.ZodObject<{ success: z.ZodOptional; modified: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_remove output */ export declare const RemoveDocOutputSchema: z.ZodObject<{ success: z.ZodOptional; removed: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; /** * pg_doc_create_index output */ export declare const CreateDocIndexOutputSchema: z.ZodObject<{ success: z.ZodOptional; index: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; category: z.ZodOptional; recoverable: z.ZodOptional; suggestion: z.ZodOptional; details: z.ZodOptional>; }, z.core.$strip>; //# sourceMappingURL=docstore.d.ts.map