import React from "react"; type PillButtonBaseProps = Omit, "children"> & { chevron?: boolean; }; type LabelledPillButtonProps = PillButtonBaseProps & { /** Visible text label. When present, `tooltip` is optional. */ label: string; icon?: React.ReactNode; /** Optional tooltip. Renders via the DS Tooltip when provided. */ tooltip?: string; }; type IconOnlyPillButtonProps = PillButtonBaseProps & { icon: React.ReactNode; label?: never; /** * Required for icon-only buttons: renders via the DS Tooltip and feeds the * accessible name (`aria-label`), unless an explicit `aria-label` is also passed. */ tooltip: string; }; export type PillButtonProps = LabelledPillButtonProps | IconOnlyPillButtonProps; export declare function PillButton({ icon, label, className, chevron, tooltip, ref, ...props }: PillButtonProps): React.JSX.Element; export declare namespace PillButton { var displayName: string; } export {}; //# sourceMappingURL=PillButton.d.ts.map