/** * Fallback overflow chip widths used before the singleton measurer reports its first * measurement (e.g. SSR, very first paint). Calibrated for the default Material small * outlined chip rendering "+9", "+99", "+999". */ export declare const DEFAULT_OVERFLOW_CHIP_WIDTHS: number[]; /** Fallback gap between sibling chips, mirrors the default `gap: 4` in `MultiSelectChips`. */ export declare const DEFAULT_GAP = 4; /** * Get overflow chip width for a given hidden count, given a measured widths table. * `widths[0]` covers 1 digit, `widths[1]` 2 digits, `widths[2]` 3 digits. Counts beyond * the table reuse the last entry — the measurer only renders 1/2/3-digit samples since * 10⁴+ hidden chips is unlikely in practice and would still overflow visibly anyway. */ export declare function getOverflowChipWidth(hiddenCount: number, widths?: number[]): number; /** * Calculate how many chips fit in the available width. * `overflowChipWidths` and `gap` come from the per-grid measurer; callers may omit them * to use the calibrated defaults during the first render before the measurer reports. */ export declare function calculateVisibleCount(arrayLength: number, containerWidth: number, chipWidths: Map, overflowChipWidths?: number[], gap?: number): number;