export const INLINE_SCALAR_FAST_PLAN_ARITHMETIC = 1;
export const INLINE_SCALAR_FAST_PLAN_LEN = 2;
export const INLINE_SCALAR_FAST_PLAN_CONCAT = 3;
export const INLINE_SCALAR_FAST_PLAN_MIN_MAX = 4;
export const INLINE_SCALAR_FAST_PLAN_ROUND_SQRT = 5;
export const INLINE_SCALAR_FAST_PLAN_PMT = 6;
export const INLINE_SCALAR_FAST_PLAN_IF_STRING = 7;
export const UNRESOLVED_WASM_OPERAND = 0x00ff_ffff;
export function createEngineRuntimeState(controller) {
    return controller;
}
export function createInitialSelectionState() {
    return {
        sheetName: 'Sheet1',
        address: 'A1',
        anchorAddress: 'A1',
        range: { startAddress: 'A1', endAddress: 'A1' },
        editMode: 'idle',
    };
}
export function createInitialRecalcMetrics() {
    return {
        batchId: 0,
        changedInputCount: 0,
        dirtyFormulaCount: 0,
        wasmFormulaCount: 0,
        jsFormulaCount: 0,
        rangeNodeVisits: 0,
        recalcMs: 0,
        compileMs: 0,
    };
}
//# sourceMappingURL=runtime-state.js.map