import type { MentionItem } from '../../types/schemas/chat/ui.js'; import type { ChatComposerCommand } from '../../types/composer.js'; type UseMentionAutocompleteOptions = { editorRef: Ref; fileItems: ComputedRef; skillItems: ComputedRef; commandItems?: ComputedRef; disabled?: Ref; onInsert?: () => void; }; export declare function isMentionTriggerBoundary(textBeforeTrigger: string): boolean; export declare function findMentionTrigger(textBeforeCursor: string): { trigger: '@' | '/'; query: string; offset: number; } | null; export declare function appendAttachmentMentions(content: string, files: readonly { name: string; url: string; }[]): string; export declare function useMentionAutocomplete(options: UseMentionAutocompleteOptions): any; export {};