import * as React from 'react';
import { OverridableStringUnion } from '@material-ui/types';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
export interface ImageListPropsVariantOverrides {}
export type ImageListVariantDefaults = Record<'masonry' | 'quilted' | 'standard' | 'woven', true>;
export interface ImageListTypeMap
{
props: P & {
/**
* Items that will be in the image list.
*/
children: NonNullable;
/**
* Override or extend the styles applied to the component.
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Styles applied to the root element if `variant="masonry"`. */
masonry?: string;
/** Styles applied to the root element if `variant="quilted"`. */
quilted?: string;
/** Styles applied to the root element if `variant="standard"`. */
standard?: string;
/** Styles applied to the root element if `variant="woven"`. */
woven?: string;
};
/**
* Number of columns.
* @default 2
*/
cols?: number;
/**
* The gap between items in px.
* @default 4
*/
gap?: number;
/**
* The height of one row in px.
* @default 'auto'
*/
rowHeight?: number | 'auto';
/**
* The variant to use.
* @default 'standard'
*/
variant?: OverridableStringUnion;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Image List](https://material-ui.com/components/image-list/)
*
* API:
*
* - [ImageList API](https://material-ui.com/api/image-list/)
*/
declare const ImageList: OverridableComponent;
export type ImageListClassKey = keyof NonNullable;
export type ImageListProps<
D extends React.ElementType = ImageListTypeMap['defaultComponent'],
P = {}
> = OverrideProps, D>;
export default ImageList;