import { Component, JSXElement, JSX } from 'solid-js';
/**
 * @title Badge
 */
export interface BadgeProps extends JSX.HTMLAttributes<HTMLDivElement> {
    /**
     * @zh 徽标显示的数字, 超出 max-width 将会修改原始的数字
     * @en Number to show in badge
     * @defaultValue 0
     */
    count?: number | JSXElement;
    /**
     * @zh 显示为小红点
     * @en Whether to display a red dot instead of `count`
     */
    dot?: boolean;
    /**
     * @zh 徽标最大显示数值，如果 count 超过这个数值会显示为 `${maxCount}+`
     * @en Max count to show. If count is larger than this value, it will be displayed as `${maxCount}+`
     * @defaultValue 99
     */
    maxCount?: number;
    children?: JSXElement;
}
import './style/index.css';
/** @zh 小红点 */
export declare const Badge: Component<Omit<BadgeProps, "style" | "class"> & {
    ref?: HTMLDivElement | ((el: HTMLDivElement) => void);
    style?: string | JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
