/**
* @ozdemircibaris/react-image-editor - Headless Core
*
* This module exports the headless API for building custom image editors.
* Use these hooks to create your own UI while leveraging the image editing logic.
*
* @example
* ```tsx
* import { useImageEditor } from '@ozdemircibaris/react-image-editor/core';
*
* function MyCustomEditor() {
* const editor = useImageEditor({
* imageUrl: '/path/to/image.jpg',
* });
*
* return (
*
*
* Add Blur
* Crop
*
* );
* }
* ```
*/
export { useImageEditor, useHistory, useCanvas, useBlur, useCrop, useDrawing, useShapes, useText, useSelection, useZoom, useExport, useKeyboardShortcuts, } from "./hooks";
export { calculateCanvasSize, getImageBounds, calculateFitScale, calculateCenterPosition, lockImage, loadImageToCanvas, clampZoom, animateZoomTo, getViewportCenter, calculateIntersection, canvasToImageCoords, imageToCanvasCoords, exportCanvasRegion, dataURLToBlob, CleanupManager, createTempCanvas, disposeFabricCanvas, clearCanvasObjects, createDebouncedFunction, createThrottledFunction, safeRequestAnimationFrame, addTrackedEventListener, SUPPORTED_IMAGE_TYPES, validateImageFile, createValidatedImageURL, } from "./utils";
export type { EditorFabricObject, EditorFabricImage, EditorFabricCanvas, EditorFabricRect, EditorFabricPath, EditorFabricIText, ShapeType, EditorMode, EditorTool, ImageEditorConfig, CanvasSize, Bounds, EditorState, HistoryState, FabricSelectionEvent, FabricPathCreatedEvent, UseCanvasReturn, UseHistoryReturn, UseBlurReturn, UseCropReturn, UseDrawingReturn, UseShapesReturn, UseTextReturn, UseSelectionReturn, UseZoomReturn, UsePanReturn, UseImageEditorReturn, ImageEditorProps, ImageEditorClassNames, ImageEditorLabels, ToolbarRenderProps, CanvasRenderProps, } from "./types";
export type { SupportedImageType, ImageValidationResult, } from "./utils";