import type { Editor } from "@tiptap/core"; interface Props { editor?: Editor | null; /** * `dropdown` (default): a button showing the current style that opens the * list. `gallery`: the styles are always shown, in a row. */ variant?: "dropdown" | "gallery"; /** List every available paragraph style instead of the gallery (quick) styles. */ showAllStyles?: boolean; /** Show the "Update to match selection" and "New style from selection" actions. Defaults to `true`. */ showActions?: boolean; /** Preview each style's font, weight, style and color in its entry. Defaults to `true`. */ preview?: boolean; class?: string; itemClass?: string; activeItemClass?: string; /** Called after a style is applied, updated or created. */ onchange?: (event: { type: "apply" | "update" | "create"; id: string; }) => void; } declare const StylesGallery: import("svelte").Component; type StylesGallery = ReturnType; export default StylesGallery;