import { type RefObject } from "react"; import { type Selection } from "./menuEntries.js"; import type { AppMenuCategory } from "./types.js"; export type AppMenuRailProps = { searchRef: RefObject; search: string; onSearchChange: (value: string) => void; /** App groups, in the order they are listed. */ groups: { key: string; count: number; }[]; /** Number of apps matching the search, shown next to "All applications". */ appCount: number; /** Extra link categories, listed after the app groups. */ categories: AppMenuCategory[]; selection: Selection; onSelect: (selection: Selection) => void; }; /** * The app menu's left rail: the local search field, the app groups and any * extra link categories. * * The rail is a single tab stop; the arrow keys move focus between the buttons. */ export declare function AppMenuRail({ searchRef, search, onSearchChange, groups, appCount, categories, selection, onSelect, }: AppMenuRailProps): import("react").JSX.Element;