///
import { BoxProps } from "@mui/material/Box";
import { ChipProps } from "@mui/material/Chip";
import PropTypes from "prop-types";
import { FileObject } from "../types";
export interface PreviewListProps {
classes?: {
image?: string;
imageContainer?: string;
removeButton?: string;
root?: string;
};
fileObjects: FileObject[];
getPreviewIcon: (fileObject: FileObject, classes: PreviewListProps["classes"]) => JSX.Element;
handleRemove: (index: number) => ChipProps["onDelete"];
previewChipProps?: ChipProps;
previewGridClasses?: {
container?: string;
item?: string;
};
previewGridProps?: {
container?: BoxProps;
item?: BoxProps;
};
showFileNames?: boolean;
useChipsForPreview?: boolean;
}
declare function PreviewList(props: PreviewListProps): JSX.Element;
declare namespace PreviewList {
var propTypes: {
classes: PropTypes.Requireable