import { Component } from 'react'; import type { TooltipRenderChildrenArgs } from '@instructure/ui-tooltip/latest'; import type { PillProps, PillState } from './props'; /** --- category: components --- **/ declare class Pill extends Component { static readonly componentId = "Pill"; static allowedProps: readonly (keyof { as?: import("@instructure/shared-types").AsElementType; color?: "primary" | "success" | "info" | "warning" | "error"; elementRef?: (element: Element | null) => void; margin?: import("@instructure/emotion").Spacing; children: React.ReactNode; statusLabel?: string; renderIcon?: React.ReactNode; })[]; static defaultProps: { color: string; }; ref: Element | null; ellipsisRef: HTMLElement | null; constructor(props: PillProps); componentDidMount(): void; componentDidUpdate(): void; setTruncation(): void; handleRef: (el: Element | null) => void; renderPill(focused?: TooltipRenderChildrenArgs['focused'], getTriggerProps?: TooltipRenderChildrenArgs['getTriggerProps']): import("@emotion/react/jsx-runtime").JSX.Element; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default Pill; export { Pill }; export type { PillProps }; //# sourceMappingURL=index.d.ts.map