@saran-ign/react-image-annotate
Version:
An Image Annotate Library for React
6 lines (5 loc) • 671 B
TypeScript
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;