import React from 'react'; import type { NavigationTreeAction } from './state'; import type { NavigationTreeProps, NavigationTreeState } from './types'; export interface NavigationTreeNodeProps { path: string; activePath?: string; state: NavigationTreeState; level?: number; dispatch: React.Dispatch; children?: React.ReactNode; onActivate?: (path: string) => void; getActions?: NavigationTreeProps['getActions']; onActionsOpenToggle?: NavigationTreeProps['onActionsOpenToggle']; renderAdditionalNodeElements?: NavigationTreeProps['renderAdditionalNodeElements']; cache?: boolean; /** * Ref object attached to the item element when this node is the active one. * Set only for the active node so the parent can scroll it into view. */ activeItemRef?: React.RefObject; } export declare function NavigationTreeNode({ path, activePath, state, level, dispatch, children, onActivate, getActions, onActionsOpenToggle, renderAdditionalNodeElements, cache, activeItemRef, }: NavigationTreeNodeProps): JSX.Element;