import { type StepRef } from '../../../utils/cel-context.js';
export type StepRefOccurrence = {
    from: number;
    to: number;
    id: string;
};
export declare function scanStepRefs(text: string): StepRefOccurrence[];
/** What the chip renders for one known step — its position label + validity. */
export type StepChipInfo = {
    label: string;
    /**
     * False when the step sits at or after the referencing row (a forward ref
     * created by reorder) — chipped as a warning, not as dangling.
     */
    valid: boolean;
};
export declare function buildStepLookup(roster: ReadonlyArray<StepRef>): Map<string, StepChipInfo>;
