import * as React from 'react'; export type CompositeMetadata = { index?: number | null | undefined; } & CustomMetadata; /** * Provides context for a list of items in a composite component. * @internal */ export declare function CompositeList(props: CompositeList.Props): import("react/jsx-runtime").JSX.Element; export interface CompositeListState {} export interface CompositeListProps { children: React.ReactNode; /** * A ref to the list of HTML elements, ordered by their index. * `useListNavigation`'s `listRef` prop. */ elementsRef: React.RefObject>; /** * A ref to the list of element labels, ordered by their index. * `useTypeahead`'s `listRef` prop. */ labelsRef?: React.RefObject> | undefined; onMapChange?: ((newMap: Map | null>) => void) | undefined; } export declare namespace CompositeList { type State = CompositeListState; type Props = CompositeListProps; }