import { type JsxCustomElementAttributes, type JsxElementProps, type JsxRenderable } from '@ecopages/jsx'; import type { RuiTagGroup as RuiTagGroupElement, RuiTagGroupProps } from './tag-group.script'; import './tag-group.script'; export type RuiTagListProps = JsxElementProps; /** * Flex-wrapped container for `RuiTag` children. * * @cssclass rui-tag-group__list - Tag row (flex-wrap container). */ export declare function RuiTagList({ children, class: className, ...props }: RuiTagListProps): JsxRenderable; export type RuiTagProps = JsxElementProps & { value?: string; label?: string; disabled?: boolean; }; /** * A single tag with optional remove button. * * @cssclass rui-tag - Tag chip; selected state via `[aria-selected='true']`. * * @remarks Tags built imperatively for CE-managed items mirror this markup in * `RuiTagGroup.createManagedTag` (`tag-group.script.tsx`) — edit both together. */ export declare function RuiTag({ value, label, children, class: className, disabled, ...props }: RuiTagProps): JsxRenderable; export type RuiTagRemoveProps = JsxElementProps; /** * Remove button rendered inside `RuiTag`. * * @cssclass rui-tag__remove - Tag remove control. */ export declare function RuiTagRemove({ children, class: className, aria, ...props }: RuiTagRemoveProps): JsxRenderable; export type RuiTagData = { value: string; label: JsxRenderable; disabled?: boolean; }; export declare function RuiTagGroup({ tags, children, ...props }: JsxCustomElementAttributes): JsxRenderable;