advanced-cropper
Version:
The core of the advanced cropper libraries family
5 lines (4 loc) • 341 B
TypeScript
import { CoreSettings, CropperState } from "../types/index";
type ReconcileStateAlgorithm<Settings extends CoreSettings = CoreSettings> = (state: CropperState, settings: Settings) => CropperState;
declare function reconcileState(state: CropperState, settings: CoreSettings): CropperState;
export { ReconcileStateAlgorithm, reconcileState };