import type { Point } from "./cropStore"; export type HealingMode = "spot" | "heal" | "clone"; export type HealingBrushSettings = { size: number; feather: number; }; export type HealingSpotOp = { id: string; type: "spot"; mode: "spot" | "heal"; center: Point; radius: number; feather: number; opacity: number; source?: Point; }; export type HealingStrokeOp = { id: string; type: "stroke"; mode: "heal" | "clone"; points: Point[]; radius: number; feather: number; opacity: number; source?: Point; }; export type HealingOp = HealingSpotOp | HealingStrokeOp; export type HealingEdits = { version: 1; mode: HealingMode; brush: HealingBrushSettings; ops: HealingOp[]; cloneSource: Point | null; }; type HealingStore = { healingMode: HealingMode; healingBrush: HealingBrushSettings; healingOps: HealingOp[]; cloneSource: Point | null; setHealingMode: (mode: HealingMode) => void; setHealingBrushSettings: (updates: Partial) => void; setCloneSource: (source: Point | null) => void; addHealingOp: (op: HealingOp) => void; removeHealingOp: (id: string) => void; clearHealingOps: () => void; setSpotSource: (id: string, source: Point) => void; setHealingOps: (ops: HealingOp[]) => void; resetHealing: () => void; }; export declare const useHealingStore: import("zustand").UseBoundStore>; export declare function getHealingEditsSnapshot(params: { healingMode: HealingMode; healingBrush: HealingBrushSettings; healingOps: HealingOp[]; cloneSource: Point | null; }): HealingEdits; export {}; //# sourceMappingURL=healingStore.d.ts.map