import type { CatalogQuery } from './types.mts'; export type CatalogConstraintRow = { table_name: string; constraint_name: string; contype: 'c' | 'f' | 'p' | 'u'; definition: string; columns: string[]; referenced_table: string | null; referenced_columns: string[]; on_update: 'no action' | 'restrict' | 'cascade' | 'set null' | 'set default' | null; on_delete: 'no action' | 'restrict' | 'cascade' | 'set null' | 'set default' | null; validated: boolean; }; export declare function readConstraints(query: CatalogQuery): Promise;