import React from "react"; import { CHIP_COLORS, CHIP_SIZES } from "./Chip"; import { DoubleIconProps, IconProps } from "./Icon"; import { LinkWrapperProps } from "./LinkWrapper"; export type AttachmentChipIconProps = IconProps; export type AttachmentChipDoubleIconProps = DoubleIconProps; type AttachmentChipIconOptions = { icon?: AttachmentChipIconProps; doubleIcon?: never; } | { icon?: never; doubleIcon?: AttachmentChipDoubleIconProps; }; export type AttachmentChipBaseProps = AttachmentChipIconOptions & { label: string; size?: (typeof CHIP_SIZES)[number]; color?: (typeof CHIP_COLORS)[number]; className?: string; isBusy?: boolean; onRemove?: () => void; children?: never; }; export type AttachmentChipButtonProps = AttachmentChipBaseProps & { href?: never; onClick?: () => void; }; export type AttachmentChipLinkProps = AttachmentChipBaseProps & Omit & { href: string; onClick?: never; }; export type AttachmentChipProps = AttachmentChipButtonProps | AttachmentChipLinkProps; export declare function AttachmentChip({ icon, doubleIcon, className, label, size, color, isBusy, onRemove, onClick, ...linkProps }: AttachmentChipProps): React.JSX.Element; export {}; //# sourceMappingURL=AttachmentChip.d.ts.map