import { JSX } from 'solid-js';
import { Atom } from '@cn-ui/use';
import { ExFile } from '../base/ExFile';
import { UploadController } from '../base/UploadController';
export declare const UploadingContext: import("solid-js").Context<{
    uploading: UploadController;
    Files: Atom<ExFile[]>;
}>;
export interface SimpleUploaderProps extends JSX.HTMLAttributes<HTMLInputElement> {
    accept?: string;
    multiple?: boolean;
    limit?: number;
    disabled?: boolean | Atom<boolean>;
    /** @zh 文件模式，replace 将会替换掉上次的结果 */
    mode?: 'replace' | 'add';
}
/** @zh  简单上传组件 */
export declare const SimpleUploader: import("solid-js").Component<Omit<SimpleUploaderProps, "style" | "class"> & {
    ref?: HTMLInputElement | ((el: HTMLInputElement) => 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;
    };
}>;
