UNPKG

advanced-cropper

Version:

The core of the advanced cropper libraries family

5 lines (4 loc) 422 B
import { CoreSettings, CropperState, VisibleArea } from "../types/index"; type SetVisibleAreaAlgorithm<Settings extends CoreSettings = CoreSettings> = (state: CropperState, settings: Settings, visibleArea: VisibleArea) => CropperState; declare function setVisibleArea(state: CropperState, settings: CoreSettings, visibleArea: VisibleArea, safe?: boolean): CropperState; export { SetVisibleAreaAlgorithm, setVisibleArea };