import { JSX, JSXElement } from 'solid-js';
import { ExFile } from '../Uploader/base/ExFile';
import { Atom } from '@cn-ui/use';
interface Folder {
    name: string;
    fullPath: string;
    isDirectory: true;
}
export interface ExplorerProps extends JSX.HTMLAttributes<HTMLDivElement> {
    Files: Atom<ExFile[]>;
    onOpenFile?: (file: ExFile) => void | Promise<void>;
    FolderExtra?: (folder: Folder) => JSXElement;
    FileExtra?: (file: ExFile) => JSXElement;
    onOpenFolder?: (folder: Folder) => void | Promise<void>;
}
export declare const Explorer: import("solid-js").Component<Omit<ExplorerProps, "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;
    };
}>;
export {};
