import type { ImageEditorController, MaskEdgeTarget, SelectionMask } from '@pixerate/editor/image-editor'; /** * Check Edge: measures the selection's (or a mask's) edge, as the `inspect_mask_edge` tool does, * and lists the scores (flagged past the thresholds), holes, islands and findings with fixes. */ interface Props { controller: ImageEditorController; /** The current selection (`state.selection`): a report on an older selection is cleared. */ selection?: SelectionMask | null; /** What to check (default the selection); masks need `layerId`. */ target?: MaskEdgeTarget; layerId?: string; class?: string; } declare const MaskEdgeCheck: import("svelte").Component; type MaskEdgeCheck = ReturnType; export default MaskEdgeCheck;