import { Atom } from '@cn-ui/use';
import { Component, JSX } from 'solid-js';
/** Select 组件的对象输入参数 */
export declare type OptionCreator = {
    value: string;
    label?: string;
};
export interface SelectProps extends JSX.HTMLAttributes<HTMLButtonElement> {
    disabled?: boolean | Atom<boolean> /** 这里不允许注入静态参数 */;
    value?: Atom<OptionCreator>;
    options: string[] | OptionCreator[] | Atom<OptionCreator[]>;
}
export declare const Select: Component<Omit<SelectProps, "style" | "class"> & {
    ref?: HTMLElement | ((el: HTMLElement) => 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;
    };
}>;
