import { Accessibility } from '../../types'; /** * @specification * Adds role='checkbox'. This allows screen readers to handle the component as a checkbox button. * Adds attribute 'aria-checked=true' based on the property 'checked'. * Adds attribute 'aria-disabled=true' based on the property 'disabled'. * Adds attribute 'tabIndex=0' to 'root' slot. */ declare const checkboxBehavior: Accessibility; export default checkboxBehavior; declare type CheckboxBehaviorProps = { /** Whether or not item is checked. */ checked: boolean; /** If the checkbox is in disabled state. */ disabled?: boolean; };