import type { ImageEditorController, SelectionMask } from '@pixerate/editor/image-editor'; /** * Separate Subject: the selected subject onto its own masked layer over a background plate with * the subject's area filled, in one undo step, as the `separate_subject` tool does. Shows progress * while the fill runs and can be cancelled. */ interface Props { controller: ImageEditorController; /** The current selection (`state.selection`): the subject to separate. */ selection?: SelectionMask | null; class?: string; } declare const SeparateSubjectPanel: import("svelte").Component; type SeparateSubjectPanel = ReturnType; export default SeparateSubjectPanel;