import React from "react"; //#region src/experimental/IssueLabel/IssueLabel.d.ts type Hex = `#${string}`; type LabelColorVariant = 'auburn' | 'blue' | 'brown' | 'coral' | 'cyan' | 'gray' | 'green' | 'indigo' | 'lemon' | 'lime' | 'olive' | 'orange' | 'pine' | 'pink' | 'plum' | 'purple' | 'red' | 'teal' | 'yellow'; type BaseProps = { className?: string; fillColor?: Hex; variant?: LabelColorVariant; }; type ButtonProps = React.ComponentPropsWithoutRef<'button'> & BaseProps & { as?: never; onClick: React.MouseEventHandler; }; type LinkProps = React.ComponentPropsWithoutRef<'a'> & BaseProps & { as?: never; href: string; }; type SpanProps = Omit, 'onClick'> & BaseProps & { as?: never; onClick?: never; href?: never; }; type IssueLabelAsProps = { as: As; } & BaseProps & Omit, keyof BaseProps>; type IssueLabelProps = SpanProps | LinkProps | ButtonProps | IssueLabelAsProps; declare function IssueLabel(props: SpanProps): React.ReactNode; declare function IssueLabel(props: LinkProps): React.ReactNode; declare function IssueLabel(props: ButtonProps): React.ReactNode; declare function IssueLabel(props: IssueLabelAsProps): React.ReactNode; //#endregion export { type Hex, IssueLabel, type IssueLabelProps };