import React from 'react'; import { MDCChipSetFoundation } from '@material/chips/chip-set/foundation'; import ChipCheckmark from './ChipCheckmark'; import { ChipProps } from './Chip'; declare type ChipType = React.ReactElement; export interface ChipSetProps { className?: string; selectedChipIds?: string[]; handleSelect?: (selectedChipIds: string[]) => void; updateChips?: (chips: Partial[]) => void; choice?: boolean; filter?: boolean; input?: boolean; children: ChipType | ChipType[] | React.ReactNode; } interface ChipSetState { foundation: MDCChipSetFoundation | null; selectedChipIds: string[]; hasInitialized: boolean; } export default class ChipSet extends React.Component { checkmarkWidth: number; constructor(props: ChipSetProps); static defaultProps: Partial; componentDidMount(): void; componentDidUpdate(prevProps: ChipSetProps, prevState: ChipSetState): void; componentWillUnmount(): void; readonly classes: string; readonly adapter: { hasClass: (className: string) => boolean; setSelected: () => void; removeChip: (chipId: string) => void; }; initChipSelection(): void; handleInteraction: (chipId: string) => void; handleSelect: (chipId: string, selected: boolean) => void; handleRemove: (chipId: string) => void; removeChip: (chipId: string) => void; setCheckmarkWidth: (checkmark: ChipCheckmark | null) => void; computeBoundingRect: (chipElement: HTMLDivElement) => { height: number; width: number; }; renderChip: (chip?: React.ReactNode) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | undefined; render(): JSX.Element | null; } export {};