import type { CropBox, ImageEditorController } from '@pixerate/editor/image-editor'; /** * Content-Aware Fill: a full-window workspace with the selection's surroundings on the left, the * sampling area shown in green and painted with the Sampling Brush (Alt subtracts), and a live * preview of the fill on the right. OK fills as one undo step, the same fill the * `content_aware_fill` tool makes; Cancel and Escape change nothing. */ interface Props { controller: ImageEditorController; /** Called with the result after OK, or `null` after Cancel. */ onclose: (result: { layerId: string; bounds: CropBox; output: 'current' | 'new-layer' | 'duplicate-layer'; } | null) => void; class?: string; } declare const ContentAwareFillWorkspace: import("svelte").Component; type ContentAwareFillWorkspace = ReturnType; export default ContentAwareFillWorkspace;