import { Action, MainLayoutState } from '../../MainLayout/types';
import { default as Immutable, ImmutableObject } from 'seamless-immutable';
export declare const saveToHistory: <T extends ImmutableObject<MainLayoutState>>(state: T, name: string) => Immutable.ImmutableObject<import('../../lib').MainLayoutImageAnnotationState> | Immutable.ImmutableObject<import('../../lib').MainLayoutVideoAnnotationState>;
declare const _default: (reducer: (state: ImmutableObject<MainLayoutState>, action: Action) => ImmutableObject<MainLayoutState>) => (state: ImmutableObject<MainLayoutState>, action: Action) => Immutable.ImmutableObject<MainLayoutState>;
export default _default;
