import type { LayerEffectsController } from '@pixerate/editor/raster'; /** * A layer's effects (Photoshop's layer styles): the master switch, Scale Effects, an "Add * style" menu, and each effect with its enabled toggle, remove button and, when expanded, its * settings. Every change is one undo step (a slider drag is one step too). */ interface Props { /** The image editor's controller, the paint editor's, or anything else with layer effects. */ controller: LayerEffectsController; /** The layer whose effects to show (default: the active layer). */ layerId?: string | null; /** * Show the "Layer Style" title and the "Add style" menu (default true). Without them (inside a * panel that adds styles from its own menu) the master switch and Scale stay. */ heading?: boolean; class?: string; } declare const LayerEffectsPanel: import("svelte").Component; type LayerEffectsPanel = ReturnType; export default LayerEffectsPanel;