import { type LabelRowKind } from "../UiLabelRow/UiLabelRow.js"; /** * @internal */ export interface IUiLabelChecklistRowProps { /** Label text. */ label: string; /** Determines the leading icon. Omit for a generic label icon. */ kind?: LabelRowKind; /** Optional trailing suffix passed through to `UiLabelRow`. */ suffix?: string; /** Whether the label is selected for inclusion. */ checked: boolean; /** * When true the row is rendered but cannot be toggled. Use for the primary * key row, which is always included. */ disabled?: boolean; /** Fires when the user toggles the checkbox. */ onChange?: (checked: boolean) => void; /** Test id forwarded to the root element. */ dataTestId?: string; } /** * Selectable label row used inside the Labels picker. The row delegates row * clicks to the inner checkbox and binds the checkbox's accessible name to * the row's label span via `aria-labelledby` — instead of wrapping the row * in a `