import { type ITouchEvent } from "@tarojs/components"; import type { ViewProps } from "@tarojs/components/types/View"; import type { ReactNode } from "react"; type TagVariant = "contained" | "outlined"; type TagColor = "default" | "primary" | "info" | "success" | "warning" | "danger"; type TagSize = "small" | "medium" | "large"; type TagShape = "square" | "rounded" | "roundedRight" | "roundedLeft"; interface TagProps extends ViewProps { variant?: TagVariant; size?: TagSize; color?: TagColor; shape?: TagShape; closeIcon?: ReactNode; closeable?: boolean; children?: ReactNode; onClose?(event: ITouchEvent): void; } declare function Tag(props: TagProps): JSX.Element; export default Tag;