export interface RuleImplementationModuleExports { meta?: unknown; evaluate?: unknown; /** * Call evaluate(input, helpers) INSIDE the vm context with a time boundary. * * PRI-437: The evaluate() function extracted from a vm context executes in * the vm realm, but a direct host-realm call has NO timeout protection — * an infinite loop in RuleCode would hang the host process forever. * * callEvaluate runs the invocation inside the vm context via * Script.runInContext({ timeout }), which terminates infinite loops. * * Throws on timeout, compilation error, or if evaluate is missing. */ callEvaluate?: (input: unknown, helpers: unknown) => unknown; } export declare function loadRuleImplementationModule(sourceCode: string, filename: string): RuleImplementationModuleExports;