import * as React from "react"; import { ITheme } from "@ef-carbon/react-native-style"; import Base, { IDimensions, IProps as IBaseProps, Url } from "../../media/Image"; export interface IProps extends IBaseProps { theme?: ITheme; } export declare enum State { Loading = 0, Loaded = 1, Unloaded = 2 } export interface IState { dimensions?: IDimensions; state: State; error?: Error; } declare class Implementation extends Base { private mounted; private readonly dimensions; constructor(props: IProps); private load; private reload; componentDidUpdate({ url: prev }: IProps): void; componentDidMount(): void; componentWillUnmount(): void; render(): React.ReactNode; readonly width: number | undefined; readonly height: number | undefined; readonly url: Url; readonly loading: boolean; readonly loaded: boolean; readonly unloaded: boolean; readonly error: Error | undefined; unload(): Promise; private updateState; private readonly handleLoad; private readonly handleProgress; private readonly handleError; private readonly catcher; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default Implementation;