import { type KeyboardEvent, type MouseEvent } from "react"; import { type IAccessibilityConfigBase } from "../../typings/accessibility.js"; import { type IconType } from "../@types/icon.js"; import { type ThemeColor } from "../@types/themeColors.js"; /** * @internal */ export interface IUiTagAccessibilityConfig extends IAccessibilityConfigBase { deleteAriaLabel?: string; } /** * @internal */ export type UiTagProps = { label: string; variant?: "solid" | "outlined" | "decorated"; size?: "small" | "large"; iconBefore?: IconType; iconBeforeColor?: ThemeColor; isDeletable?: boolean; isDisabled?: boolean; dataTestId?: string; accessibilityConfig?: IUiTagAccessibilityConfig; onClick?: (e: MouseEvent) => void; onDelete?: (e: MouseEvent) => void; onDeleteKeyDown?: (event: KeyboardEvent) => void; tabIndex?: number; deleteTabIndex?: number; labelAs?: "button" | "span"; }; /** * @internal */ export declare const UiTag: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiTag.d.ts.map