import React from 'react'; import { IconName } from '../../foundation'; import { ThrottleOptions } from '../../internal/utils/useThrottledPressHandler'; type CommonChipProps = { selected?: boolean; disabled?: boolean; }; export type FilterChipProps = { type: 'filter'; title: string; onPress: (title: string) => void; } & CommonChipProps; export type ActionChipProps = { type: 'action'; title: string; icon?: IconName; onPress: (title: string) => void; } & CommonChipProps; export type InputChipProps = { type: 'input'; title: string; onPress: (title: string) => void; /** * @deprecated * - [2024.10 update] 대신 `showIcon`을 사용해주세요. */ hideXIcon?: boolean; onPressXIcon?: () => void; showIcon?: boolean; } & CommonChipProps; export type IconChipProps = { type: 'icon_only'; icon: 'filter_outlined' | 'refresh_outlined'; onPress: () => void; } & ThrottleOptions & CommonChipProps; /** * 칩 컴포넌트 */ export declare function Chip(props: FilterChipProps | ActionChipProps | InputChipProps | IconChipProps): React.JSX.Element; export {};