import { Ref } from 'react'; import { LayoutUtilProps } from '../../types'; import { ListViewWithItems, ListViewWithOutItems } from './internal/types'; /** * Props for the ListView component * @template T - The type of additional properties for items * @extends LayoutUtilProps */ export type ListViewProps = LayoutUtilProps & (ListViewWithItems | ListViewWithOutItems); declare function ListViewInner(props: ListViewProps, ref: Ref): import("react/jsx-runtime").JSX.Element; declare namespace ListViewInner { var displayName: string; } /** * ListView component for displaying a list of selectable items in a grid layout. * * Features: * - Supports single and multiple selection modes * - Keyboard navigation with arrow keys * - Customizable item rendering * - Controlled and uncontrolled modes * - Accessible with proper ARIA attributes * - Focus management for interactive elements * - Layout utilities for positioning and spacing * - Automatic tracking ID generation for analytics * * @example * * {({ items }) => items.map(item => ( * * ))} * */ export declare const ListView: ((props: ListViewProps & { ref?: React.ForwardedRef; }) => ReturnType) & { /** * ListViewOption component for individual selectable items within a listview. * * Features: * - Displays selectable options with proper ARIA attributes * - Supports disabled state for non-selectable options * - Keyboard navigation support * - Accessible with screen reader support * - Automatic tracking ID generation for analytics * * @example * */ Option: import('react').ForwardRefExoticComponent>; /** * ListViewOptionCell component for rendering a cell within a listview option. * * Features: * - Renders a grid cell for option content * - Supports custom content and layout * - Accessible with proper ARIA attributes * * @example * Custom cell content */ OptionCell: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref"> & import('react').RefAttributes>; }; export {};