export declare const MAX_SLASH_MATCHES = 20; export interface CommandEntry { name: string; summary?: string; hint?: string; } export interface SlashCandidate { value: string; summary?: string; hint?: string; } export declare function isSubsequence(needle: string, haystack: string): boolean; export declare function matchSlashCandidates(universe: readonly CommandEntry[], query: string, recentHistory?: readonly string[]): SlashCandidate[];