import type { CompiledPlanRecord, RuntimeFormula } from '../runtime-state.js';
export interface FormulaRuntimePlanFieldUpdate {
    readonly source: string;
    readonly plan: CompiledPlanRecord;
    readonly templateId: number | undefined;
    readonly programLength: number;
    readonly runtimeProgram?: Uint32Array;
    readonly inlineScalarFastPlanKind?: RuntimeFormula['inlineScalarFastPlanKind'];
    readonly inlineScalarArithmeticDeltaCoefficients?: RuntimeFormula['inlineScalarArithmeticDeltaCoefficients'];
    readonly inlineScalarFastPlanStringIds?: RuntimeFormula['inlineScalarFastPlanStringIds'];
    readonly inlineScalarPlanCellIndices?: Uint32Array | undefined;
}
export declare function applyFormulaRuntimePlanFields(formula: RuntimeFormula, update: FormulaRuntimePlanFieldUpdate): void;
export declare function applyDirectScalarReplacementRuntimePlanFields(formula: RuntimeFormula, update: Omit<FormulaRuntimePlanFieldUpdate, 'programLength' | 'runtimeProgram'>): void;
