import "./selection_bar.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type ConfirmRequest } from "./alert"; import { type StyleProps } from "./style_props"; export interface SelectionBarProps extends StyleProps { /** How many rows are selected — the bar shows only while > 0. */ count: number; /** * The WHOLE phrase, as a function of the count. A function because word ORDER * is not shared between languages. */ label: (count: number) => string; /** Clears the selection — the always-present escape. */ onClear: () => void; /** Overrides the localized default ("Clear" / "Bỏ chọn"). */ clearLabel?: string; /** * The bulk action(s). Render each one THROUGH `Toolbar.Button` — `