/// <reference types="react" />
import { YUploadFile, OSSImgConfig } from '../common/interface';
import { UploadType, ChangeType, OSSProps } from '../upload.interface';
import { ImgModalRefParams } from '../imgModal';
import { FileModalRefParams } from '../fileModal/interface';
interface PreviewItemBase extends OSSProps {
    uploadType: UploadType;
    maxShow?: number;
    column?: number;
    ossImgConfig?: OSSImgConfig;
    fileDisabled?: boolean;
    showFileName?: boolean;
    showFileNameTip?: boolean;
    fileListRef: React.MutableRefObject<YUploadFile[]>;
    isRefreshFilePreview: boolean;
    setFileList: (fileList: YUploadFile[], changeFileList?: YUploadFile[], type?: ChangeType) => void;
}
export interface PreviewListProps {
    fileList: YUploadFile[];
    isDrag?: boolean;
    disabled?: boolean;
    itemProps: PreviewItemBase;
    showFileModel?: boolean;
    imgModalRef: React.MutableRefObject<ImgModalRefParams | undefined>;
    refreshValue: number;
    fileModalRef: React.MutableRefObject<FileModalRefParams | undefined>;
}
export interface PreviewItemProps extends PreviewItemBase {
    index: number;
    allIndex: number;
    imgIndex: number;
    file: YUploadFile;
    style?: React.CSSProperties;
    fileList: YUploadFile[];
    isLoading: boolean;
    getRef: (ref: any) => void;
    onRemove: (file: YUploadFile) => void;
    onPreview: (file: YUploadFile, imgIndex: number) => void;
}
export interface SmallDashItemProps {
    uploadType: UploadType;
    maxShow: number;
    column?: number;
}
export interface ItemStyleProps {
    column?: number;
    maxShow?: number;
}
export {};
//# sourceMappingURL=interface.d.ts.map