/** * Custom Rule Executor * * Executes user-defined business rules (Custom Rules) against resources. * Fetches enabled rules from the embedder-provided custom rule source and * evaluates their FHIRPath expressions. */ import type { ValidationIssue } from '../../types'; import type { StructureDefinition } from '../structure-definition-types'; export interface CustomRuleValidationContext { resource: any; structureDef: StructureDefinition; fhirVersion?: 'R4' | 'R5' | 'R6'; organizationId?: number; } export declare class CustomRuleExecutor { private static readonly RULE_LOAD_TIMEOUT_MS; private loadRules; /** * Validate user-defined custom rules */ validate(context: CustomRuleValidationContext): Promise; /** * Check if result implies success (truthy or non-empty) */ private checkResult; } //# sourceMappingURL=custom-rule-executor.d.ts.map