import type { CompiledFormula } from '@bilig/formula';
import type { CompiledPlanRecord, RuntimeDirectScalarDescriptor } from '../runtime-state.js';
export declare function formulaBindingErrorMessage(message: string, cause: unknown): string;
export declare function makeUnmanagedCompiledPlan(source: string, compiled: CompiledFormula, templateId: number | undefined): CompiledPlanRecord;
export declare function canRetainUnmanagedCompiledPlan(existingPlanId: number, compiled: CompiledFormula, directScalar: RuntimeDirectScalarDescriptor | undefined): boolean;
