import { type JSX, Component } from 'react';
import { type SxProps } from '@mui/material';
interface ImageProps {
    color?: string;
    src?: string;
    imagePrefix?: string;
    className?: string;
    showError?: boolean;
    sx?: SxProps;
}
interface ImageState {
    svg?: boolean;
    created?: boolean;
    color?: string;
    src?: string;
    imgError?: boolean;
    showError?: boolean;
}
/**
 * A component for displaying an image.
 */
export declare class Image extends Component<ImageProps, ImageState> {
    private svg;
    static REMOTE_SERVER: boolean;
    static REMOTE_PREFIX: string;
    constructor(props: ImageProps);
    static getDerivedStateFromProps(props: ImageProps, state: ImageState): Partial<ImageState> | null;
    getSvgFromData(src: string): JSX.Element | null;
    render(): JSX.Element | null;
}
export {};
