import { type EffectKind, type EffectProvider, type EffectSummary, type EffectUse } from '@pixerate/editor/effects'; interface Props { /** The editor's provider; without one the browser says effects are unavailable. */ provider: EffectProvider | null | undefined; /** Only effects with one of these uses (default: all but motion). */ uses?: readonly EffectUse[]; /** Only effects of these kinds (default: any). */ kinds?: readonly EffectKind[]; /** Only effects this also keeps (e.g. `paintEffectOffered` for the paint editor's paint, which honours provider paint hints). */ filter?: (effect: EffectSummary) => boolean; /** Called with the effect the user picks. */ onpick: (effect: EffectSummary) => void; /** Draw previews with the provider's renderer (default true). */ thumbnails?: boolean; /** Heading (default "Effects"; empty for none). */ title?: string; class?: string; } declare const EffectsBrowser: import("svelte").Component; type EffectsBrowser = ReturnType; export default EffectsBrowser;