import { MarginProps } from "styled-system"; import type { ThemeObject } from "../../style/themes/theme.types"; export interface StyledPillProps extends MarginProps { /** Override color variant, provide any color from palette or any valid css color value. */ borderColor?: string; /** Sets the max-width of the pill. */ maxWidth?: string; /** * Sets the size of the pill. * @deprecated The `XL` size is deprecated and will be removed in a future release. Use `L` instead. */ size?: "S" | "M" | "L" | "XL"; /** @private @ignore */ theme?: Partial; /** Allow the text within pill to wrap. */ wrapText?: boolean; } interface AllStyledPillProps extends MarginProps { $borderColor?: StyledPillProps["borderColor"]; $maxWidth?: StyledPillProps["maxWidth"]; $size?: StyledPillProps["size"]; $wrapText?: StyledPillProps["wrapText"]; $inFill?: boolean; $isDeletable: boolean; $inverse: boolean; $colorVariant: "grey" | "green" | "red" | "orange" | "blue" | "purple" | "teal" | "lime" | "pink" | "slate"; $pillRole: "tag" | "status"; } export declare const StyledDeleteButton: import("styled-components").StyledComponent<"button", any, {}, never>; declare const StyledPill: import("styled-components").StyledComponent<"span", any, { theme: object; } & AllStyledPillProps, "theme">; export default StyledPill;