import React, { FC, KeyboardEventHandler } from 'react'; import { Box, PropsBox, BoxItem, PropsBoxItem } from './Chips.styles'; import { SizeType } from '../Utils'; import { BoxStyled } from '../Utils/styled'; import { WithViewOnly } from '../ViewOnly'; export interface BaseItemProps { active?: boolean; size?: SizeType<'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>; disabled?: boolean; } export interface ChipsProps extends BoxStyled, WithViewOnly { size?: PropsBox['$size']; design?: PropsBox['$design']; align?: PropsBox['$align']; active?: null | string | string[]; onPressEnter?: KeyboardEventHandler; } export interface ChipsItemProps extends Omit, 'onClick'> { size?: PropsBoxItem['$size']; design?: PropsBoxItem['$design']; active?: PropsBoxItem['$active']; disabled?: PropsBoxItem['$disabled']; isFocusStateVisible: boolean; onClick?: (e: MouseEvent | React.MouseEvent) => void; } declare const Item: { (props: Omit): React.JSX.Element; displayName: string; }; export declare const Chips: FC & { Item: typeof Item; }; export {};