import type { Environment } from '@marcbachmann/cel-js'; /** Maximum number of values one evaluation's range calls may materialize. */ export declare const MAX_RANGE_ELEMENTS = 1000; /** Maximum context-byte fan-out one evaluation's range calls may represent. */ export declare const MAX_RANGE_FANOUT_BYTES = 1000000; /** Maximum UTF-8 bytes returned by toJson() calls in one evaluation. */ export declare const MAX_JSON_OUTPUT_BYTES = 1000000; /** Per-evaluation budgets held by the handlers registered on an environment. */ export interface WorkflowFunctionBudgets { isolate(context: unknown, evaluation: () => T): T; } /** * Register the shared functions and return the budgets their handlers close over. * * Callers that reuse one environment across evaluations must wrap each evaluation * in `isolate` so it gets a full budget without consuming an enclosing one. A * context accessor can re-enter the evaluator, so the enclosing budget is * restored rather than reset. */ export declare function registerWorkflowFunctions(environment: Environment): WorkflowFunctionBudgets; //# sourceMappingURL=workflow-function-registry.d.ts.map