import type { RuntimeFormula, U32 } from '../runtime-state.js';
interface CycleEvaluationFormulaLookup {
    readonly get: (cellIndex: number) => RuntimeFormula | undefined;
    readonly has: (cellIndex: number) => boolean;
}
export interface CycleEvaluationNode {
    readonly kind: 'formula' | 'cycle';
    readonly order: number;
    readonly formulaCellIndices: number[];
}
export declare function buildCycleEvaluationNodes(args: {
    readonly ordered: readonly number[] | U32;
    readonly orderedCount: number;
    readonly formulas: CycleEvaluationFormulaLookup;
    readonly cycleGroupIds: ArrayLike<number | undefined>;
    readonly forEachFormulaDependencyCell: (cellIndex: number, fn: (dependencyCellIndex: number) => void) => void;
}): readonly CycleEvaluationNode[] | undefined;
export {};
