import type { SearchResult } from '../../core/types.js'; /** * Softmax: competitive normalization over an array of scores. * Returns probabilities that sum to 1. */ export declare function softmax(scores: number[]): number[]; /** * Normalize search results within a block to 0-1 range. * Prevents blocks with many entries from dominating via raw score magnitude. */ export declare function normalizeBlock(results: SearchResult[]): SearchResult[]; /** * Select blocks whose softmax attention exceeds the threshold. * Returns indices of selected blocks. */ export declare function selectBlocks(blockScores: number[], threshold?: number): number[]; //# sourceMappingURL=block-selector.d.ts.map