export function shouldHideCollapsedToastContent( visibleToastIndex: number, visibleToastCount: number, ): boolean { // Keep the front-most toast readable even if Base UI marks it as "behind" // due to toasts hidden by thread filtering. if (visibleToastCount <= 1) return false; return visibleToastIndex > 0; }