import { SearchListItem } from '@components/common/page-builder/pickers/EntitySearchList.js'; import React from 'react'; export interface CategoryPickerProps { selectedUrl?: string | null; /** Highlight by uuid (preferred when caller stores a URN). */ selectedUuid?: string | null; onPick: (next: { url: string; name: string; uuid: string; }) => void; limit?: number; /** * Rows pinned above the search results — e.g. the "All Products" shortcut for * the `/products` listing, which is a fixed route with no entity id and so * cannot be a URN like a real category. Hidden while a search is active so * results stay clean and the empty-state hint still shows. Selecting one calls * `onPinnedSelect` with its id instead of the normal `onPick`. */ pinnedItems?: SearchListItem[]; onPinnedSelect?: (id: string) => void; } export declare function CategoryPicker({ selectedUrl, selectedUuid, onPick, limit, pinnedItems, onPinnedSelect }: CategoryPickerProps): React.JSX.Element;