import { fabric } from "fabric";
export declare const useShapeHandlers: (canvas: fabric.Canvas | null, isCropping: boolean, isDrawing: boolean, currentColor: string, currentStrokeWidth: number, setIsSelectMode: (value: boolean) => void, setSelectedObject: (obj: fabric.Object | null) => void, saveState: () => void) => {
    handleAddShape: (shapeType: "rectangle" | "circle") => void;
};
