import type { EngineRuntimeState } from '../runtime-state.js';
import { type DeferredInitialFormulaFamilyRun } from './formula-initialization-family-runs.js';
import type { InitialFormulaEntryRefSource } from './formula-initialization-refs.js';
export declare function readAlignedFreshFormulaFamilyRunsFromRefs<Entry>(args: {
    readonly refs: InitialFormulaEntryRefSource<Entry>;
    readonly hadExistingFormulas: boolean;
    readonly counters: EngineRuntimeState['counters'];
}): readonly DeferredInitialFormulaFamilyRun[] | undefined;
export declare function flushAlignedFreshFormulaFamilyRuns(args: {
    readonly runs: readonly DeferredInitialFormulaFamilyRun[] | undefined;
    readonly shouldDeferFormulaFamilyIndex: boolean;
    readonly deferFormulaFamilyIndexRuns?: ((runs: readonly DeferredInitialFormulaFamilyRun[]) => void) | undefined;
    readonly deferFormulaFamilyIndexRebuild?: (() => void) | undefined;
    readonly registerFormulaFamilyRun: (run: DeferredInitialFormulaFamilyRun) => void;
    readonly checkEvaluationBudget?: (() => void) | undefined;
}): boolean;
