import React from 'react'; import { CSSValueWithLength } from '../../styles'; export interface ImagePreviewProps { src?: string; /** @default 100 */ width?: CSSValueWithLength; /** @default 100 */ height?: CSSValueWithLength; /** @default 8 */ borderRadius?: CSSValueWithLength; alt?: string; label?: string; objectFit: 'contain' | 'cover' | 'fill'; /** @default 'medium' */ size?: 'medium' | 'small'; backgroundDark?: boolean; error?: boolean; onClick?: (image_url: string) => void; } export declare const getImagePreviewSize: ({ size, width, height, }: Pick) => string; export declare const ImagePreview: React.ForwardRefExoticComponent>; export declare const ImagePreviewContainer: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme | undefined; as?: React.ElementType | undefined; } & Pick, React.DetailedHTMLProps, HTMLDivElement>, {}>;