import type { KeyboardEvent, MouseEvent, ReactNode } from 'react'; import React from 'react'; interface Props { /** * Unique ID for the component */ id?: string; /** * Content of the component */ children?: ReactNode; /** * Allows to pass common mouse click callback to all children */ onClick?: (e: MouseEvent) => void; /** * Allows to pass common keyboard key down callback to all children */ onKeyDown?: (e: KeyboardEvent) => void; /** * Allows to define callback function for DropdownList toggle * * @param isDropdownListOpen Current state of DropdownList element */ onDropdownListToggle?: (isDropdownListOpen: boolean) => void; /** * Allows to define category */ categoryLabel?: string; /** * Allows to define aria-label attribute for nav HTML element */ navigationLabel?: string; /** * Allows to change label of ButtonIcon * * @default 'Lisää' */ dropdownButtonLabel?: string; /** * Allows to pass a custom className */ className?: string; /** * Allows to pass testid string for testing purposes */ 'data-testid'?: string; /** * Allows to pass a custom aria-label for mobile dropdown button */ mobileDropdownAriaLabel?: string; /** * Allows to pass a custom aria-label for current page */ currentPageAriaLabel?: string; /** * Accessible label for the "open more subpages" button (e.g. "Avaa lisää alasivuja") */ openMoreSubpagesAriaLabel?: string; } /** * @visibleName Priority Navigation */ declare const PriorityNavigation: ({ dropdownButtonLabel, "data-testid": dataTestId, mobileDropdownAriaLabel, currentPageAriaLabel, openMoreSubpagesAriaLabel, ...props }: Props) => React.JSX.Element; /** @component */ export default PriorityNavigation;