import { Atom } from '@cn-ui/use';
import { Component, JSXElement } from 'solid-js';
import { ExFile } from './ExFile';
import { UploadFunc } from './UploadController';
export interface UploaderRootProps {
    accept?: string;
    multiple?: boolean;
    limit?: number;
    uploading: UploadFunc;
    Files: Atom<ExFile[]>;
    children?: JSXElement;
    /** @zh 文件模式，默认 replace 将会替换掉上次的结果 */
    mode?: 'replace' | 'add';
}
/** 这个并没有实质上的 DOM，故不需要进行 OriginComponent */
export declare const UploaderRoot: Component<UploaderRootProps>;
