import React from 'react'; import { Props } from '../../../common'; declare type PillColors = 'alert' | 'success' | 'warning' | 'primary' | 'neutral' | 'secondary' | 'highlight' | 'dark'; declare type PillSizes = 'small' | 'medium' | 'large'; interface IPillProps { /** Text to show inside the label */ text: string; /** Extra classes to apply to the label */ className?: string; /** Background or border colour of the label */ color?: PillColors; /** size of the label */ size?: PillSizes; /** The margins around the component */ margins?: Props.IMargins; /** The data-cy */ componentContext?: string; } declare const Pill: React.FC>; export { IPillProps, Pill, PillColors, PillSizes };