import React from 'react'; import type { PolymorphicComponentProps } from '../types/polymorphic'; export type Variant = 'default' | 'outlined'; export type ChipElement = 'button' | 'div' | 'span' | 'a'; type ChipElementNode = E extends 'button' ? HTMLButtonElement : E extends 'a' ? HTMLAnchorElement : E extends 'div' ? HTMLDivElement : HTMLSpanElement; type ChipBaseProps = { label: string; variant?: Variant; style?: React.CSSProperties; className?: string; }; export type ChipProps = PolymorphicComponentProps>; children?: never; }>; type ChipComponent = ((props: Readonly> & { ref?: React.Ref>; }) => React.ReactElement | null) & { displayName?: string; }; declare const Chip: ChipComponent; export default Chip; //# sourceMappingURL=index.d.ts.map