import React, { UIEvent } from 'react';
import { FileData } from '../../types/file.types';
import { Nullable } from 'tsdef';
export type ColumnRenderPreset = 'icon' | 'name' | 'modDate' | 'size';
export type ColumnRenderFunction = (file: Nullable<FileData>) => React.ReactNode;
export interface ColumnDefinition {
    label?: string;
    flex?: string;
    justifyContent?: string;
    render: ColumnRenderPreset | ColumnRenderFunction;
    sortActionId?: Nullable<string>;
}
export interface FileListProps {
    onScroll?: (e: UIEvent<HTMLDivElement>) => void;
    columns?: ColumnDefinition[];
}
export declare const FileList: React.FC<FileListProps>;
