/** * Copyright IBM Corp. 2016, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React from 'react'; export interface TableSelectAllProps { /** * Specify the aria label for the underlying input control * node */ ['aria-label']?: string; /** * @deprecated please use `aria-label` instead. * Specify the aria label for the underlying input control */ ariaLabel?: string; /** * Specify whether all items are selected, or not */ checked?: boolean; /** * The CSS class names of the cell that wraps the underlying input control */ className?: string; /** * Specify whether the checkbox input should be disabled */ disabled?: boolean; /** * Provide an `id` for the underlying input control */ id: string; /** * Specify whether the selection only has a subset of all items */ indeterminate?: boolean; /** * Provide a `name` for the underlying input control */ name: string; /** * Provide a handler to listen to when a user initiates a selection request */ onSelect: React.MouseEventHandler; } declare const TableSelectAll: { ({ ariaLabel: deprecatedAriaLabel, ["aria-label"]: ariaLabel, checked, id, indeterminate, name, onSelect, disabled, className, }: TableSelectAllProps): import("react/jsx-runtime").JSX.Element; propTypes: { /** * Specify the aria label for the underlying input control */ "aria-label": PropTypes.Requireable; /** * Deprecated, please use `aria-label` instead. * Specify the aria label for the underlying input control */ ariaLabel: (props: Record, propName: string, componentName: string, ...rest: any[]) => any; /** * Specify whether all items are selected, or not */ checked: PropTypes.Requireable; /** * The CSS class names of the cell that wraps the underlying input control */ className: PropTypes.Requireable; /** * Specify whether the checkbox input should be disabled */ disabled: PropTypes.Requireable; /** * Provide an `id` for the underlying input control */ id: PropTypes.Validator; /** * Specify whether the selection only has a subset of all items */ indeterminate: PropTypes.Requireable; /** * Provide a `name` for the underlying input control */ name: PropTypes.Validator; /** * Provide a handler to listen to when a user initiates a selection request */ onSelect: PropTypes.Validator<(...args: any[]) => any>; }; }; export default TableSelectAll;