import type { Styled } from '../../hooks/useStyled'; import type { DropdownItem } from '../types'; import type { CLASSES } from '../vars'; interface DropdownListProps> { namespace: string; styled: Styled; ulProps: any; list: T[]; ancestryOfSub?: T[]; virtual?: boolean | number; focusVisible: boolean; focusId: ID | undefined; popupIds: { id: ID; visible: boolean; }[]; updateSubPosition: React.RefObject void>>; trigger: 'hover' | 'click'; zIndex: string | number; handleKeyDown: React.RefObject | undefined>; getItemId: (id: ID) => string; onClick?: (id: ID, origin: T) => void | false; onFocusIdsChange: (ids: ID[]) => void; onPopupIdsChange: (ids: { id: ID; visible: boolean; }[]) => void; addPopupId: (id: ID) => void; removePopupId: (id: ID) => void; onVisibleChange: (visible: boolean) => void; } export declare function DropdownList>(props: DropdownListProps): React.ReactElement | null; export {};