import { LoadingState } from '../../types'; import { Image } from '../../Viewer/types'; export declare type ImageLoadState = { loadingState: LoadingState; image: Image; }; declare type ImageLoadAction = { type: LoadingState; payload?: Image; }; export declare function imageLoadReducer(state: ImageLoadState, action: ImageLoadAction): ImageLoadState; export declare const INITIAL_IMAGE_LOAD_STATE: { loadingState: "initial"; image: undefined; }; export {};