import * as React from 'react'; import { NavLinkProps } from 'react-router-dom'; import { GetClasses, StandardProps } from '../../typeUtils'; import { MotionProps } from 'framer-motion'; export declare const PrimaryNavigationExpansionItemStylesKey = "ChromaPrimaryNavigationExpansionItem"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"link" | "label" | "root" | "content" | "hidden" | "icon" | "rootOpen" | "inner" | "innerHidden" | "sidebarCollapsed" | "linkActive" | "labelBeta" | "beta" | "plusIcon" | "innerUl">; export declare type PrimaryNavigationExpansionItemClasses = GetClasses; export interface PrimaryNavigationExpansionItemProps extends Omit, 'onAnimationStart' | 'onDrag' | 'onDragEnd' | 'onDragStart' | 'style'>, Pick, MotionProps { children?: React.ReactNode; rootParentPath?: string; label?: string; beta?: boolean; betaLabelText?: string; icon?: React.ReactNode; } /** * Combining PrimaryNavigationExpansionItem and PrimaryNavigationSubItem allows for * consumers to create an expansion-panel-esque component in their navigation bar. * The current pattern is that clicking the root path will navigate users to the * root/dashboard view. Child routes navigation items are then rendered below. * Navigating away from the "rootParentPath" closes the expansion-panel route item. * * ### Links * * - [PrimaryNavigationExpansionItem Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/PrimaryNavigation/PrimaryNavigationExpansionItem.tsx) * - [PrimaryNavigationSubItem Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/PrimaryNavigation/PrimaryNavigationSubItem.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/PrimaryNavigation/PrimaryNavigation.stories.tsx) */ export declare const PrimaryNavigationExpansionItem: React.ForwardRefExoticComponent & React.RefAttributes>;