import * as React from 'react';
import { ScrollParams } from 'react-virtualized';
import { ObjectInterface } from '../_utils/interfaces';
import './style/index.css';
export declare enum PreviewType {
    normal = "normal",
    fullscreen = "fullscreen"
}
export declare enum PreviewTheme {
    initial = "initial",
    defaultFull = "default-full",
    blackFull = "black-full"
}
export declare enum PreviewLisMode {
    media = "media",
    other = "other"
}
export interface PreviewListProps {
    /** 模式 */
    mode?: PreviewLisMode;
    /** 展示列表 */
    list: ObjectInterface[];
    /** 类名 */
    className?: string;
    /** 选中的索引 */
    selectIndex?: number;
    /** 默认选中的索引 */
    defaultSelectIndex?: number;
    /** 自定义渲染单元 */
    RenderCell: React.FC<ObjectInterface>;
    /** 自定义渲染展示内容 */
    RenderPreview: React.FC<ObjectInterface>;
    /** 选择回调 */
    onChangeSelect?: (index: number) => void;
    /** 类型 */
    type?: PreviewType.normal | PreviewType.fullscreen;
    /** 显示编辑功能 */
    showEdit?: boolean;
    /** 编辑样式自定义 */
    editRenderItem?: (index: number) => React.ReactNode | string;
    /** 显示分享功能 */
    showShare?: boolean;
    /** 显示列表 */
    showList?: boolean;
    /** 标题 */
    title?: string;
    /** 预览主题 */
    theme?: PreviewTheme;
    /** 关闭回调处理 */
    handleClose?: () => void;
    /** 分享回调处理 */
    handleShare?: () => void;
    /** 编辑回调处理 */
    handleEdit?: Array<() => void>;
    /** 分享提示文案 */
    shareTip?: string;
    /** 自定义功能 */
    renderAction?: (index: number) => React.ReactNode | string;
    onScroll?: (params: ScrollParams) => any;
    height?: number;
    rowHeight?: number;
    columnWidth?: number;
}
declare const PreviewList: React.FC<PreviewListProps>;
export default PreviewList;
