import type { ReactNode } from 'react'; import { type ListView } from './listView.js'; import type { ListFilters } from './useListFilters.js'; /** One way to lay a list out, such as rows, a board or a timeline. */ export interface ListLayoutOption { value: string; label: string; icon: ReactNode; } /** The layouts a list can switch between, which lead its Display panel. */ export interface ListLayoutChoice { options: ListLayoutOption[]; value: string; onValueChange: (value: string) => void; } export declare function ListDisplayMenu({ view, label, layout, }: { view: ListView; label?: string; layout?: ListLayoutChoice | undefined; }): import("react").JSX.Element; /** The phone's sort control, in the name column's header where the other columns' headers have * given way: it says what the list is sorted by and which way, and changes both, as Display * options' Ordering does, from the same state. */ export declare function ListSortMenu({ view, className }: { view: ListView; className?: string; }): import("react").JSX.Element | null; /** The toolbar's Filter button, which F presses. Beside a chip row (`ListFilterBar`, which * `ListPage` shows), it opens the Add filter menu with a value picker beside each field. On a page that * lays out its own chip row, pass it as the bar's `end`, which centers it on the chips' first * line however they wrap; set beside the bar in a row of the page's own, it sits above them. */ export declare function ListFilterMenu({ view, filters, label, }: { view?: ListView | undefined; /** For a page whose filters come from `useListFilters` rather than a list view. */ filters?: ListFilters | undefined; label?: string; }): import("react").JSX.Element | null;