import type { Node } from 'prosemirror-model'; import { type Component } from 'svelte'; import type { EditorView } from 'prosemirror-view'; import type { EditorConfig } from '../../config'; export interface SlashOption { name: string; description: string; icon: Component; keywords: string[]; node: string | (() => Promise); attrs?: Record; } export declare function getOptions(view: EditorView, config: EditorConfig): SlashOption[]; export declare function findOptions(match: string, options: SlashOption[]): SlashOption[];