import { FileSystemType } from '../../../../../../../ui/index.js';
import { DisplayCropArea } from '../shared/types.js';
interface UseCropOperationsProps {
    file: FileSystemType | null;
    cropArea: DisplayCropArea;
    onApplyCrop?: (croppedFile: FileSystemType) => void;
    onCancel: () => void;
    onError: (error: string) => void;
}
export declare function useCropOperations({ file, cropArea, onApplyCrop, onCancel, onError }: UseCropOperationsProps): {
    isLoading: boolean;
    handleApplyCrop: () => Promise<void>;
};
export {};
