UNPKG

advanced-cropper

Version:

The core of the advanced cropper libraries family

14 lines (13 loc) 596 B
import { CoreSettings, CropperState, ImageRestriction } from "../../types/index"; import { StencilSize } from "../stencil-size/index"; declare function getAbsoluteZoom(state: CropperState | null, settings: CoreSettings & { imageRestriction?: ImageRestriction; stencilSize?: StencilSize; minWidth?: number; minHeight?: number; transformImage?: { adjustStencil?: boolean; }; }, normalized?: boolean): number; declare function getZoomFactor(state: CropperState | null, settings: CoreSettings, absoluteZoom: number): number; export { getAbsoluteZoom, getZoomFactor };