import { type ReactNode } from 'react'; import { type ListProps } from '@mui/material'; import './rds-list.scss'; export interface RdsListItem { id: string | number; primary: string; secondary?: string; icon?: ReactNode; avatar?: ReactNode; secondaryAction?: ReactNode; onClick?: () => void; selected?: boolean; disabled?: boolean; children?: RdsListItem[]; } export interface RdsListSection { title: ReactNode; items: RdsListItem[]; } export interface RdsListProps extends Omit { items?: RdsListItem[]; /** Grouped sections with sticky subheaders — use instead of multiple lists in one scroll container. */ sections?: RdsListSection[]; variant?: 'simple' | 'button' | 'icon' | 'avatar' | 'firebase'; alignItems?: 'flex-start' | 'center'; disableGutters?: boolean; withDividers?: boolean; withCheckboxes?: boolean; onCheckboxChange?: (id: string | number, checked: boolean) => void; checkedItems?: (string | number)[]; } declare const RdsList: { ({ items, sections, variant, alignItems, disableGutters, withDividers, withCheckboxes, onCheckboxChange, checkedItems, className, dense, ...props }: RdsListProps): import("react").JSX.Element; displayName: string; }; export default RdsList;