import type { ImageEditorConfig, UseImageEditorReturn } from "../types"; /** * Main headless hook for the image editor * * @example * ```tsx * function MyEditor() { * const editor = useImageEditor({ * imageUrl: '/path/to/image.jpg', * }); * * return ( *