export function primeFormulaBindingLookupCandidates(args) {
    if (args.directLookup) {
        return;
    }
    args.indexedExactLookupCandidates.forEach((candidate) => {
        if (candidate.startCol !== candidate.endCol) {
            return;
        }
        args.serviceArgs.exactLookup.primeColumnIndex({
            sheetName: candidate.sheetName ?? args.ownerSheetName,
            rowStart: candidate.startRow,
            rowEnd: candidate.endRow,
            col: candidate.startCol,
        });
    });
    args.directApproximateLookupCandidates.forEach((candidate) => {
        if (candidate.startCol !== candidate.endCol) {
            return;
        }
        args.serviceArgs.sortedLookup.primeColumnIndex({
            sheetName: candidate.sheetName ?? args.ownerSheetName,
            rowStart: candidate.startRow,
            rowEnd: candidate.endRow,
            col: candidate.startCol,
        });
    });
}
//# sourceMappingURL=formula-binding-lookup-primer.js.map