UNPKG

romaine

Version:

React OpenCV Manipulation and Image Narration & Editing

11 lines 670 B
import { RomaineContext } from "../../components"; import { UseCanvasReturnType } from "../../components/romaine/useCanvas"; import { UsePreviewReturnType } from "../../components/romaine/usePreview"; interface ModeProps { romaine: RomaineContext; _preview: UsePreviewReturnType; _canvas: UseCanvasReturnType; } export declare const handleModeChange: ({ romaine: { cv, setMode, romaine: { mode, clearHistory, angle, history, scale: newScale }, pushHistory, undo, }, _canvas: { canvasRef, canvasPtr, resetImage }, _preview: { previewRef, createPreview, setPreviewPaneDimensions }, }: ModeProps) => void; export {}; //# sourceMappingURL=mode.d.ts.map