import { Atom } from '@cn-ui/use';
import { FormField } from '../interface';
export interface RateProps extends FormField {
    value: Atom<number>;
    allowHalf?: boolean;
    onValueInput?: (e: any, value: number) => void | Promise<boolean>;
}
export declare const Rate: import("solid-js").Component<Omit<RateProps, "style" | "class"> & {
    ref?: HTMLElement | ((el: HTMLElement) => void);
    style?: string | import("solid-js").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;
    };
}>;
