import type { FieldGroup, SidebarEntry } from "./sections.js"; export interface SearchResult { type: "section" | "field" | "shortcut" | "command"; title: string; description?: string; badge?: string; sectionId: string; action?: () => void; score: number; } export declare function computeSearchResults( query: string, sidebar: SidebarEntry[], generalGroups: FieldGroup[], shortcuts: { label?: string; keys: string; category?: string; }[], commands: { label: string; category?: string; action?: () => void; }[], ): SearchResult[];