import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor'; /** * Live selection: the steps that made the selection, editable afterwards (each change replays * them as one undo step), as the `*_selection_step` tools do. Freeze keeps the selection and drops * the steps. Hidden while the selection is frozen or empty. */ interface Props { controller: ImageEditorController; /** The current selection (`state.selection`), so the panel re-renders with it. */ selection?: SelectionMask | null; class?: string; } declare const SelectionRecipePanel: import("svelte").Component; type SelectionRecipePanel = ReturnType; export default SelectionRecipePanel;