export interface MentionSuggestion { id: string; label: string; description?: string; /** Optional avatar URL */ avatar?: string; /** Optional secondary handle / email */ meta?: string; disabled?: boolean; } interface MentionInputProps { value?: string; suggestions?: MentionSuggestion[]; placeholder?: string; label?: string; helperText?: string; rows?: number; disabled?: boolean; readonly?: boolean; /** Character that opens mentions. Default `@`. Ignored when `triggers` is set. */ trigger?: string; /** Several openers in one field, e.g. `['@', '#']`. */ triggers?: string[]; /** * Suggestions per opener. When omitted, `suggestions` is used for every trigger * (single-trigger fields stay as they were). */ suggestionsByTrigger?: Record; /** Max suggestions shown. */ maxSuggestions?: number; /** Preferred side of the @ or #. The list flips if there is no room. */ placement?: 'top' | 'bottom'; class?: string; onquery?: (detail: { trigger: string; query: string; }) => void; onselect?: (item: MentionSuggestion) => void; onchange?: (value: string) => void; } declare const MentionInput: import("svelte").Component; type MentionInput = ReturnType; export default MentionInput;