import { z } from 'zod'; import type { QueryResult } from '../database/types.js'; export declare const GetSchemaSchema: z.ZodObject<{ tableName: z.ZodOptional; }, "strip", z.ZodTypeAny, { tableName?: string | undefined; }, { tableName?: string | undefined; }>; export type GetSchemaInput = z.infer; /** * Get database schema information with enhanced error handling */ export declare function getDatabaseSchema(input?: GetSchemaInput): Promise<{ success: boolean; data: QueryResult; hint?: string; optimization_note?: string; } | { success: boolean; error: string; suggestions: string[]; hint: string; original_error?: undefined; troubleshooting?: undefined; } | { success: boolean; error: string; original_error: any; troubleshooting: { check_permissions: string; check_connection: string; list_all_tables: string; }; suggestions?: undefined; hint?: undefined; }>; //# sourceMappingURL=getSchema.d.ts.map