import React from 'react';
import type { FileNode, FileType, GroupNode } from '../../types';
/** 分组首屏展示的文件数 */
export declare const GROUP_INITIAL_PAGE_SIZE = 50;
/** 「查看更多」每次展开的额外文件数 */
export declare const GROUP_PAGE_SIZE_INCREMENT = 100;
export interface FileGroupProps {
    group: GroupNode;
    onToggle?: (groupId: string, type: FileType, collapsed: boolean) => void;
    onGroupDownload?: (files: FileNode[], groupType: FileType) => void;
    onDownload?: (file: FileNode) => void;
    onFileClick?: (file: FileNode) => void;
    onPreview?: (file: FileNode) => void;
    onShare?: (file: FileNode, ctx?: {
        anchorEl?: HTMLElement;
        origin: 'list' | 'preview';
    }) => void;
    onLocate?: (file: FileNode) => void;
    prefixCls: string;
    hashId: string;
    locale?: Record<string, any>;
    bindDomId?: boolean;
}
export declare const FileGroup: React.NamedExoticComponent<FileGroupProps>;
