import type { PositionStrategy } from './strategy'; /** * Position lookups for items that all share one size: every answer is plain arithmetic — no * allocation, no iteration. Active when the size source reports uniform sizes and no per-item * override (e.g. a measured oversized row) exists. */ export declare class UniformPositionStrategy implements PositionStrategy { #private; /** * Uniform mode never holds a prefix-sum array. * * @type {null} */ readonly prefixSum: null; /** * @param {number} size The size shared by every item. * @param {number} totalItems The total item count read at build time. */ constructor(size: number, totalItems: number); /** * Returns the cumulative size before the given item index. * * @param {number} index The item index. * @returns {number} The cumulative size before this index. */ getOffset(index: number): number; /** * Finds the item index at a given pixel offset arithmetically. * * @param {number} offset The pixel offset. * @returns {number} The index whose cumulative start position is at or just before the offset. */ findIndexAtOffset(offset: number): number; /** * Returns the size of the single item at the given index. * * @param {number} index The item index. * @returns {number} The item size, or `0` outside the item range. */ getSizeAt(index: number): number; /** * Returns the total size of all items. * * @returns {number} */ getTotalSize(): number; }