import { type MouseEvent, type ReactNode } from 'react'; import { type LinkTarget } from '../components/AppLink.js'; export interface AppFrameNavSwitchItem extends Omit { href: string; label: string; icon: ReactNode; /** Its page is the one showing. */ selected: boolean; /** Such as a count, read after the label, so give it its words (`CountBadge`'s `label`). */ badge?: ReactNode; onClick?: (event: MouseEvent) => void; } /** Sibling places in the navigation, such as lists of two kinds that share it, as one control: * side by side while the sidebar is open, and the items' icons in the rail. Each is a link, and * the one showing is the current page. Two or three fit; more belong in the navigation itself. */ export declare function AppFrameNavSwitch({ label, items, }: { /** Names the group of links. */ label: string; items: AppFrameNavSwitchItem[]; }): import("react").JSX.Element;