import type { FC } from 'react'; import { DropdownListProps, DropdownProps, MenuToggleCheckboxProps, MenuToggleProps } from '@patternfly/react-core'; export declare const BulkSelectValue: { readonly all: "all"; readonly none: "none"; readonly page: "page"; readonly nonePage: "nonePage"; }; export type BulkSelectValue = (typeof BulkSelectValue)[keyof typeof BulkSelectValue]; export declare const BulkSelectSource: { readonly dropdown: "dropdown"; readonly checkbox: "checkbox"; }; export type BulkSelectSource = (typeof BulkSelectSource)[keyof typeof BulkSelectSource]; /** extends DropdownProps */ export interface BulkSelectProps extends Omit { /** BulkSelect className */ className?: string; /** Indicates whether selectable items are paginated */ isDataPaginated?: boolean; /** Indicates whether "Select all" option should be available */ canSelectAll?: boolean; /** Number of entries present in current page */ pageCount?: number; /** Number of selected entries */ selectedCount: number; /** Number of all entries */ totalCount?: number; /** Indicates if ALL current page items are selected */ pageSelected?: boolean; /** Indicates if ONLY some current page items are selected */ pagePartiallySelected?: boolean; /** Callback called on item select */ onSelect: (value: BulkSelectValue, source?: BulkSelectSource) => void; /** Custom OUIA ID */ ouiaId?: string; /** Additional props for MenuToggleCheckbox */ menuToggleCheckboxProps?: Omit; /** Additional props for DropdownList */ dropdownListProps?: Omit; /** Additional props for MenuToggleProps */ menuToggleProps?: Omit; /** Custom label for "Select none" option. Defaults to "Select none (0)" */ selectNoneLabel?: string; /** Custom label for "Select page" option. Receives pageCount as parameter. Defaults to "Select page (N)" */ selectPageLabel?: (pageCount?: number) => string; /** Custom label for "Select all" option. Receives totalCount as parameter. Defaults to "Select all (N)" */ selectAllLabel?: (totalCount?: number) => string; /** Custom label formatter for selected count. Receives selectedCount as parameter. Defaults to "N selected" */ selectedLabel?: (selectedCount: number) => string; } export declare const BulkSelect: FC; export default BulkSelect;