import { z } from 'zod'; import type { TableRelations } from './types.js'; export declare const GetTableRelationsSchema: z.ZodObject<{ tableName: z.ZodString; }, "strip", z.ZodTypeAny, { tableName: string; }, { tableName: string; }>; export type GetTableRelationsInput = z.infer; /** * Get table relationships (foreign keys and references) in LLM-friendly JSON format * * This tool provides: * - Foreign keys from this table to other tables * - Foreign keys from other tables referencing this table * - Delete rules (CASCADE, SET NULL, etc.) * * Helps LLMs understand table relationships for JOIN queries and data integrity. * Results are cached for 5 minutes to improve performance. * * @param input - Table name * @returns Foreign key relationships */ export declare function getTableRelations(input: GetTableRelationsInput): Promise<{ success: boolean; data?: TableRelations; error?: string; cached?: boolean; }>; //# sourceMappingURL=getTableRelations.d.ts.map