import type { EditAction, ToolProviderProps } from "../../types.js"; import type { CropToolState } from "./useCropTool.js"; interface CropContextValue extends CropToolState { imageUrl: string; onApply: (blob: Blob, actions: EditAction[]) => void; onCancel: () => void; } export declare function CropProvider({ imageUrl, onApply, onCancel, children }: ToolProviderProps): import("react").JSX.Element; export declare function useCropContext(): CropContextValue; export {};