geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
10 lines (9 loc) • 672 B
TypeScript
import { CanvasElements, BackgroundState, CanvasState } from '../types';
interface History {
past: CanvasState[];
future: CanvasState[];
}
export declare const handleUndo: (history: History, setCanvasElements: React.Dispatch<React.SetStateAction<CanvasElements>>, setBackgroundState: React.Dispatch<React.SetStateAction<BackgroundState>>, originalUndo: () => void) => void;
export declare const handleRedo: (history: History, setCanvasElements: React.Dispatch<React.SetStateAction<CanvasElements>>, setBackgroundState: React.Dispatch<React.SetStateAction<BackgroundState>>, originalRedo: () => void) => void;
export {};
//# sourceMappingURL=history.utils.d.ts.map