import React, { MutableRefObject } from 'react'; import { ChangeHandler } from '../_util/useDefault'; import { TdSideBarProps } from './type'; interface BaseSidebarContext { defaultIndex: MutableRefObject; activeValue: number | string | (number | string)[]; updateChild: ChangeHandler; relation: (child: any) => void; removeRelation: (child: any) => void; onClickItem: (cur: any, label: any) => void; } /** * SideBarContext is a React context that stores the state and actions related to the SideBar component. */ export declare const SideBarContext: React.Context>; export declare function SideBarProvider({ children, value }: { children: any; value: any; }): React.JSX.Element; export {};