import type { ImageEditorController, RefineOutputResult } from '@pixerate/editor/image-editor'; /** * Select and Mask: a full-window workspace over the editor with its own tools, view modes, edge * and output settings, and a live preview. OK applies everything as one undo step, the same * `refineSelectionTo` call an agent makes; Cancel leaves the document as it was. Keys as in * Photoshop, plus Enter (OK), Escape (Cancel) and Ctrl/⌘+Z (undo the last stroke). */ interface Props { controller: ImageEditorController; /** Called with the result after OK, or `null` after Cancel. */ onclose: (result: RefineOutputResult | null) => void; class?: string; } declare const SelectAndMaskWorkspace: import("svelte").Component; type SelectAndMaskWorkspace = ReturnType; export default SelectAndMaskWorkspace;