import { z } from 'zod'; export declare const createTableRequestSchema: z.ZodObject; tableName: z.ZodString; columns: z.ZodArray, z.ZodString]>; defaultValue: z.ZodOptional; isPrimaryKey: z.ZodOptional; isNullable: z.ZodBoolean; isUnique: z.ZodBoolean; foreignKey: z.ZodOptional; onUpdate: z.ZodEnum<["CASCADE", "RESTRICT", "NO ACTION"]>; }, "strip", z.ZodTypeAny, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }>>; }, "strip", z.ZodTypeAny, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }>, "many">; recordCount: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "tableName" | "columns"> & { rlsEnabled: z.ZodDefault; }, "strip", z.ZodTypeAny, { tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; rlsEnabled: boolean; }, { tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; rlsEnabled?: boolean | undefined; }>; export declare const createTableResponseSchema: z.ZodObject; tableName: z.ZodString; columns: z.ZodArray, z.ZodString]>; defaultValue: z.ZodOptional; isPrimaryKey: z.ZodOptional; isNullable: z.ZodBoolean; isUnique: z.ZodBoolean; foreignKey: z.ZodOptional; onUpdate: z.ZodEnum<["CASCADE", "RESTRICT", "NO ACTION"]>; }, "strip", z.ZodTypeAny, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }>>; }, "strip", z.ZodTypeAny, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }>, "many">; recordCount: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "schemaName" | "tableName" | "columns"> & { message: z.ZodString; autoFields: z.ZodArray; nextActions: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; nextActions: string; tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; autoFields: string[]; schemaName?: string | undefined; }, { message: string; nextActions: string; tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; autoFields: string[]; schemaName?: string | undefined; }>; export declare const getTableSchemaResponseSchema: z.ZodObject<{ schemaName: z.ZodOptional; tableName: z.ZodString; columns: z.ZodArray, z.ZodString]>; defaultValue: z.ZodOptional; isPrimaryKey: z.ZodOptional; isNullable: z.ZodBoolean; isUnique: z.ZodBoolean; foreignKey: z.ZodOptional; onUpdate: z.ZodEnum<["CASCADE", "RESTRICT", "NO ACTION"]>; }, "strip", z.ZodTypeAny, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }>>; }, "strip", z.ZodTypeAny, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }>, "many">; recordCount: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; createdAt?: string | undefined; updatedAt?: string | undefined; schemaName?: string | undefined; recordCount?: number | undefined; }, { tableName: string; columns: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; foreignKey?: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; } | undefined; }[]; createdAt?: string | undefined; updatedAt?: string | undefined; schemaName?: string | undefined; recordCount?: number | undefined; }>; export declare const updateTableSchemaRequestSchema: z.ZodObject<{ addColumns: z.ZodOptional, z.ZodString]>; defaultValue: z.ZodOptional; isPrimaryKey: z.ZodOptional; isNullable: z.ZodBoolean; isUnique: z.ZodBoolean; foreignKey: z.ZodOptional; onUpdate: z.ZodEnum<["CASCADE", "RESTRICT", "NO ACTION"]>; }, "strip", z.ZodTypeAny, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }>>; }, "foreignKey">, "strip", z.ZodTypeAny, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; }, { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; }>, "many">>; dropColumns: z.ZodOptional>; updateColumns: z.ZodOptional; newColumnName: z.ZodOptional; }, "strip", z.ZodTypeAny, { columnName: string; defaultValue?: string | undefined; newColumnName?: string | undefined; }, { columnName: string; defaultValue?: string | undefined; newColumnName?: string | undefined; }>, "many">>; addForeignKeys: z.ZodOptional; onUpdate: z.ZodEnum<["CASCADE", "RESTRICT", "NO ACTION"]>; }, "strip", z.ZodTypeAny, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }, { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }>; }, "strip", z.ZodTypeAny, { columnName: string; foreignKey: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }; }, { columnName: string; foreignKey: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }; }>, "many">>; dropForeignKeys: z.ZodOptional>; renameTable: z.ZodOptional>; }, "strip", z.ZodTypeAny, { addColumns?: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; }[] | undefined; dropColumns?: string[] | undefined; updateColumns?: { columnName: string; defaultValue?: string | undefined; newColumnName?: string | undefined; }[] | undefined; addForeignKeys?: { columnName: string; foreignKey: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }; }[] | undefined; dropForeignKeys?: string[] | undefined; renameTable?: { newTableName: string; } | undefined; }, { addColumns?: { type: string; columnName: string; isNullable: boolean; isUnique: boolean; defaultValue?: string | undefined; isPrimaryKey?: boolean | undefined; }[] | undefined; dropColumns?: string[] | undefined; updateColumns?: { columnName: string; defaultValue?: string | undefined; newColumnName?: string | undefined; }[] | undefined; addForeignKeys?: { columnName: string; foreignKey: { referenceTable: string; referenceColumn: string; onDelete: "CASCADE" | "RESTRICT" | "NO ACTION" | "SET NULL" | "SET DEFAULT"; onUpdate: "CASCADE" | "RESTRICT" | "NO ACTION"; }; }[] | undefined; dropForeignKeys?: string[] | undefined; renameTable?: { newTableName: string; } | undefined; }>; export declare const updateTableSchemaResponse: z.ZodObject<{ schemaName: z.ZodOptional; message: z.ZodString; tableName: z.ZodString; operations: z.ZodArray; }, "strip", z.ZodTypeAny, { message: string; tableName: string; operations: string[]; schemaName?: string | undefined; }, { message: string; tableName: string; operations: string[]; schemaName?: string | undefined; }>; export declare const deleteTableResponse: z.ZodObject<{ schemaName: z.ZodOptional; message: z.ZodString; tableName: z.ZodString; nextActions: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; nextActions: string; tableName: string; schemaName?: string | undefined; }, { message: string; nextActions: string; tableName: string; schemaName?: string | undefined; }>; export declare const rawSQLRequestSchema: z.ZodObject<{ query: z.ZodString; params: z.ZodOptional>; }, "strip", z.ZodTypeAny, { query: string; params?: unknown[] | undefined; }, { query: string; params?: unknown[] | undefined; }>; export declare const rawSQLResponseSchema: z.ZodObject<{ rows: z.ZodArray, "many">; rowCount: z.ZodNullable; fields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { rows: Record[]; rowCount: number | null; fields?: { name: string; dataTypeID: number; }[] | undefined; }, { rows: Record[]; rowCount: number | null; fields?: { name: string; dataTypeID: number; }[] | undefined; }>; export declare const exportRequestSchema: z.ZodObject<{ tables: z.ZodOptional>; format: z.ZodDefault>; includeData: z.ZodDefault; includeFunctions: z.ZodDefault; includeSequences: z.ZodDefault; includeViews: z.ZodDefault; rowLimit: z.ZodDefault; }, "strip", z.ZodTypeAny, { format: "json" | "sql"; includeData: boolean; includeFunctions: boolean; includeSequences: boolean; includeViews: boolean; rowLimit: number; tables?: string[] | undefined; }, { format?: "json" | "sql" | undefined; tables?: string[] | undefined; includeData?: boolean | undefined; includeFunctions?: boolean | undefined; includeSequences?: boolean | undefined; includeViews?: boolean | undefined; rowLimit?: number | undefined; }>; export declare const exportJsonDataSchema: z.ZodObject<{ timestamp: z.ZodString; tables: z.ZodRecord; isNullable: z.ZodString; columnDefault: z.ZodNullable; }, "strip", z.ZodTypeAny, { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }, { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }>, "many">; indexes: z.ZodArray; isPrimary: z.ZodNullable; }, "strip", z.ZodTypeAny, { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }, { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }>, "many">; foreignKeys: z.ZodArray; updateRule: z.ZodNullable; }, "strip", z.ZodTypeAny, { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }, { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }>, "many">; rlsEnabled: z.ZodOptional; policies: z.ZodArray; qual: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }, { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }>, "many">; triggers: z.ZodArray; actionStatement: z.ZodString; newTable: z.ZodNullable; oldTable: z.ZodNullable; }, "strip", z.ZodTypeAny, { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }, { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }>, "many">; rows: z.ZodOptional, "many">>; recordCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { schema: { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }[]; indexes: { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }[]; foreignKeys: { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }[]; policies: { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }[]; triggers: { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }[]; recordCount?: number | undefined; rlsEnabled?: boolean | undefined; rows?: Record[] | undefined; }, { schema: { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }[]; indexes: { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }[]; foreignKeys: { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }[]; policies: { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }[]; triggers: { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }[]; recordCount?: number | undefined; rlsEnabled?: boolean | undefined; rows?: Record[] | undefined; }>>; functions: z.ZodArray, "many">; sequences: z.ZodArray; maxValue: z.ZodNullable; cycle: z.ZodString; }, "strip", z.ZodTypeAny, { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }, { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }>, "many">; views: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }, { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }>; export declare const exportResponseSchema: z.ZodObject<{ format: z.ZodEnum<["sql", "json"]>; data: z.ZodUnion<[z.ZodString, z.ZodObject<{ timestamp: z.ZodString; tables: z.ZodRecord; isNullable: z.ZodString; columnDefault: z.ZodNullable; }, "strip", z.ZodTypeAny, { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }, { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }>, "many">; indexes: z.ZodArray; isPrimary: z.ZodNullable; }, "strip", z.ZodTypeAny, { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }, { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }>, "many">; foreignKeys: z.ZodArray; updateRule: z.ZodNullable; }, "strip", z.ZodTypeAny, { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }, { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }>, "many">; rlsEnabled: z.ZodOptional; policies: z.ZodArray; qual: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }, { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }>, "many">; triggers: z.ZodArray; actionStatement: z.ZodString; newTable: z.ZodNullable; oldTable: z.ZodNullable; }, "strip", z.ZodTypeAny, { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }, { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }>, "many">; rows: z.ZodOptional, "many">>; recordCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { schema: { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }[]; indexes: { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }[]; foreignKeys: { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }[]; policies: { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }[]; triggers: { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }[]; recordCount?: number | undefined; rlsEnabled?: boolean | undefined; rows?: Record[] | undefined; }, { schema: { columnName: string; isNullable: string; dataType: string; characterMaximumLength: number | null; columnDefault: string | null; }[]; indexes: { isUnique: boolean | null; isPrimary: boolean | null; indexname: string; indexdef: string; }[]; foreignKeys: { columnName: string; constraintName: string; foreignTableName: string; foreignColumnName: string; deleteRule: string | null; updateRule: string | null; }[]; policies: { cmd: string; roles: string[]; qual: string | null; withCheck: string | null; policyname: string; }[]; triggers: { triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; newTable: string | null; oldTable: string | null; }[]; recordCount?: number | undefined; rlsEnabled?: boolean | undefined; rows?: Record[] | undefined; }>>; functions: z.ZodArray, "many">; sequences: z.ZodArray; maxValue: z.ZodNullable; cycle: z.ZodString; }, "strip", z.ZodTypeAny, { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }, { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }>, "many">; views: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }, { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }>]>; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { data: string | { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }; format: "json" | "sql"; timestamp: string; }, { data: string | { timestamp: string; tables: Record[] | undefined; }>; functions: { functionName: string; functionDef: string; kind: string; }[]; sequences: { sequenceName: string; startValue: string; increment: string; minValue: string | null; maxValue: string | null; cycle: string; }[]; views: { viewName: string; definition: string; }[]; }; format: "json" | "sql"; timestamp: string; }>; export declare const importRequestSchema: z.ZodObject<{ truncate: z.ZodDefault]>>; }, "strip", z.ZodTypeAny, { truncate: boolean; }, { truncate?: string | boolean | undefined; }>; export declare const importResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; filename: z.ZodString; tables: z.ZodArray; rowsImported: z.ZodNumber; fileSize: z.ZodNumber; }, "strip", z.ZodTypeAny, { message: string; filename: string; success: boolean; tables: string[]; rowsImported: number; fileSize: number; }, { message: string; filename: string; success: boolean; tables: string[]; rowsImported: number; fileSize: number; }>; export declare const bulkUpsertRequestSchema: z.ZodObject<{ schema: z.ZodDefault; table: z.ZodString; upsertKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { schema: string; table: string; upsertKey?: string | undefined; }, { table: string; schema?: string | undefined; upsertKey?: string | undefined; }>; export declare const bulkUpsertResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; table: z.ZodString; rowsAffected: z.ZodNumber; totalRecords: z.ZodNumber; filename: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; filename: string; success: boolean; table: string; rowsAffected: number; totalRecords: number; }, { message: string; filename: string; success: boolean; table: string; rowsAffected: number; totalRecords: number; }>; export declare const adminTableRecordSchema: z.ZodRecord; export declare const adminTableRecordsSortClauseSchema: z.ZodObject<{ columnName: z.ZodString; direction: z.ZodEnum<["asc", "desc"]>; }, "strip", z.ZodTypeAny, { columnName: string; direction: "asc" | "desc"; }, { columnName: string; direction: "asc" | "desc"; }>; export declare const adminTableRecordsListQuerySchema: z.ZodEffects; offset: z.ZodDefault; search: z.ZodOptional; sort: z.ZodOptional; filterColumn: z.ZodOptional; filterValue: z.ZodOptional; }, "strip", z.ZodTypeAny, { limit: number; offset: number; sort?: string | undefined; search?: string | undefined; filterColumn?: string | undefined; filterValue?: string | undefined; }, { sort?: string | undefined; limit?: number | undefined; offset?: number | undefined; search?: string | undefined; filterColumn?: string | undefined; filterValue?: string | undefined; }>, { limit: number; offset: number; sort?: string | undefined; search?: string | undefined; filterColumn?: string | undefined; filterValue?: string | undefined; }, { sort?: string | undefined; limit?: number | undefined; offset?: number | undefined; search?: string | undefined; filterColumn?: string | undefined; filterValue?: string | undefined; }>; export declare const adminTableRecordLookupQuerySchema: z.ZodObject<{ column: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; column: string; }, { value: string; column: string; }>; export declare const adminTableRecordsCreateRequestSchema: z.ZodArray, "many">; export declare const adminTableRecordUpdateQuerySchema: z.ZodObject<{ pkColumn: z.ZodString; }, "strip", z.ZodTypeAny, { pkColumn: string; }, { pkColumn: string; }>; export declare const adminTableRecordUpdateRequestSchema: z.ZodEffects, Record, Record>; export declare const adminTableRecordsDeleteQuerySchema: z.ZodObject<{ pkColumn: z.ZodString; pkValues: z.ZodString; }, "strip", z.ZodTypeAny, { pkColumn: string; pkValues: string; }, { pkColumn: string; pkValues: string; }>; export declare const adminTableRecordResponseSchema: z.ZodRecord; export declare const adminTableRecordLookupResponseSchema: z.ZodNullable>; export declare const adminTableRecordsCreateResponseSchema: z.ZodArray, "many">; export declare const adminTableRecordsListResponseSchema: z.ZodObject<{ data: z.ZodArray, "many">; pagination: z.ZodObject<{ offset: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; }, "strip", z.ZodTypeAny, { limit: number; offset: number; total: number; }, { limit: number; offset: number; total: number; }>; }, "strip", z.ZodTypeAny, { data: Record[]; pagination: { limit: number; offset: number; total: number; }; }, { data: Record[]; pagination: { limit: number; offset: number; total: number; }; }>; export declare const adminTableRecordsDeleteResponseSchema: z.ZodObject<{ deletedCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { deletedCount: number; }, { deletedCount: number; }>; export declare const createMigrationRequestSchema: z.ZodObject<{ version: z.ZodString; name: z.ZodEffects; sql: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; version: string; sql: string; }, { name: string; version: string; sql: string; }>; export declare const createMigrationResponseSchema: z.ZodObject<{ version: z.ZodString; name: z.ZodString; statements: z.ZodArray; createdAt: z.ZodString; } & { message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; name: string; createdAt: string; version: string; statements: string[]; }, { message: string; name: string; createdAt: string; version: string; statements: string[]; }>; export type CreateTableRequest = z.infer; export type CreateTableResponse = z.infer; export type GetTableSchemaResponse = z.infer; export type UpdateTableSchemaRequest = z.infer; export type UpdateTableSchemaResponse = z.infer; export type DeleteTableResponse = z.infer; export type RawSQLRequest = z.infer; export type RawSQLResponse = z.infer; export type ExportDatabaseRequest = z.infer; export type ExportDatabaseJsonData = z.infer; export type ExportDatabaseResponse = z.infer; export type ImportDatabaseRequest = z.infer; export type ImportDatabaseResponse = z.infer; export type BulkUpsertRequest = z.infer; export type BulkUpsertResponse = z.infer; export type AdminTableRecord = z.infer; export type AdminTableRecordsSortClause = z.infer; export type AdminTableRecordsListQuery = z.infer; export type AdminTableRecordLookupQuery = z.infer; export type AdminTableRecordsCreateRequest = z.infer; export type AdminTableRecordUpdateQuery = z.infer; export type AdminTableRecordUpdateRequest = z.infer; export type AdminTableRecordsDeleteQuery = z.infer; export type AdminTableRecordResponse = z.infer; export type AdminTableRecordLookupResponse = z.infer; export type AdminTableRecordsCreateResponse = z.infer; export type AdminTableRecordsListResponse = z.infer; export type AdminTableRecordsDeleteResponse = z.infer; export type CreateMigrationRequest = z.infer; export type CreateMigrationResponse = z.infer; export declare const databaseFunctionsResponseSchema: z.ZodObject<{ functions: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { functions: { functionName: string; functionDef: string; kind: string; }[]; }, { functions: { functionName: string; functionDef: string; kind: string; }[]; }>; export declare const databaseSchemasResponseSchema: z.ZodObject<{ schemas: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { schemas: { name: string; isProtected: boolean; }[]; }, { schemas: { name: string; isProtected: boolean; }[]; }>; export declare const databaseIndexesResponseSchema: z.ZodObject<{ indexes: z.ZodArray; isPrimary: z.ZodNullable; }, "strip", z.ZodTypeAny, { isUnique: boolean | null; tableName: string; indexName: string; indexDef: string; isPrimary: boolean | null; }, { isUnique: boolean | null; tableName: string; indexName: string; indexDef: string; isPrimary: boolean | null; }>, "many">; }, "strip", z.ZodTypeAny, { indexes: { isUnique: boolean | null; tableName: string; indexName: string; indexDef: string; isPrimary: boolean | null; }[]; }, { indexes: { isUnique: boolean | null; tableName: string; indexName: string; indexDef: string; isPrimary: boolean | null; }[]; }>; export declare const databasePoliciesResponseSchema: z.ZodObject<{ policies: z.ZodArray; qual: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; cmd: string; roles: string[]; qual: string | null; withCheck: string | null; }, { tableName: string; policyName: string; cmd: string; roles: string[]; qual: string | null; withCheck: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; cmd: string; roles: string[]; qual: string | null; withCheck: string | null; }[]; }, { policies: { tableName: string; policyName: string; cmd: string; roles: string[]; qual: string | null; withCheck: string | null; }[]; }>; export declare const databaseTriggersResponseSchema: z.ZodObject<{ triggers: z.ZodArray; actionStatement: z.ZodString; }, "strip", z.ZodTypeAny, { tableName: string; triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; }, { tableName: string; triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; }>, "many">; }, "strip", z.ZodTypeAny, { triggers: { tableName: string; triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; }[]; }, { triggers: { tableName: string; triggerName: string; actionTiming: string; eventManipulation: string; actionOrientation: string; actionCondition: string | null; actionStatement: string; }[]; }>; export declare const databaseMigrationsResponseSchema: z.ZodObject<{ migrations: z.ZodArray; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; createdAt: string; version: string; statements: string[]; }, { name: string; createdAt: string; version: string; statements: string[]; }>, "many">; }, "strip", z.ZodTypeAny, { migrations: { name: string; createdAt: string; version: string; statements: string[]; }[]; }, { migrations: { name: string; createdAt: string; version: string; statements: string[]; }[]; }>; export type DatabaseFunctionsResponse = z.infer; export type DatabaseSchemasResponse = z.infer; export type DatabaseIndexesResponse = z.infer; export type DatabasePoliciesResponse = z.infer; export type DatabaseTriggersResponse = z.infer; export type DatabaseMigrationsResponse = z.infer; //# sourceMappingURL=database-api.schema.d.ts.map