import type { CompiledFormula } from '@bilig/formula';
import type { CompiledPlanRecord } from '../runtime-state.js';
export interface EngineCompiledPlanService {
    readonly intern: (source: string, compiled: CompiledFormula, templateId?: number) => CompiledPlanRecord;
    readonly replace: (planId: number, source: string, compiled: CompiledFormula, templateId?: number) => CompiledPlanRecord;
    readonly isSoleOwner: (planId: number, compiled: CompiledFormula) => boolean;
    readonly get: (planId: number) => CompiledPlanRecord | undefined;
    readonly release: (planId: number) => void;
    readonly clear: () => void;
}
export declare function createEngineCompiledPlanService(): EngineCompiledPlanService;
