export interface ValidationRuleRow { id: string; name: string; description?: string; pattern: string; } /** * List all custom validation rules from the database. */ export declare function listCustomRules(): Promise; /** * Get a single custom validation rule by ID. */ export declare function getCustomRule(id: string): Promise; /** * Add a new custom validation rule. */ export declare function addCustomRule(rule: ValidationRuleRow): Promise; /** * Update an existing custom validation rule. */ export declare function updateCustomRule(rule: ValidationRuleRow): Promise; /** * Delete a custom validation rule by ID. */ export declare function deleteCustomRule(id: string): Promise;