UNPKG

advanced-cropper

Version:

The core of the advanced cropper libraries family

11 lines (10 loc) 638 B
import { Boundary, CoreSettings, CropperState } from "../types/index"; type SetBoundaryAlgorithm<Settings extends CoreSettings = CoreSettings> = (state: CropperState, settings: Settings, boundary: Boundary) => CropperState; declare function setBoundary(state: CropperState, settings: CoreSettings, boundary: Boundary): { boundary: import("../types/index").Size; imageSize: import("../types/index").Size; transforms: import("../types/index").Transforms; visibleArea: import("../types/index").Coordinates | null; coordinates: import("../types/index").Coordinates | null; }; export { SetBoundaryAlgorithm, setBoundary };