import React from 'react'; import { IPopMenuHandler, PopMenuListItemProps, TPopMenuDirection } from './interface'; import { PopoverProps } from '../Popover'; export declare const PopMenuContext: React.Context<{ direction: TPopMenuDirection; props: PopoverProps; handle: IPopMenuHandler; menuIndex: number; path: string[]; value: string[]; onChange: (value: string[]) => void; onClick: (name: string, item?: PopMenuListItemProps, path?: string[]) => void; }>; export declare const PopMenuProvider: React.Provider<{ direction: TPopMenuDirection; props: PopoverProps; handle: IPopMenuHandler; menuIndex: number; path: string[]; value: string[]; onChange: (value: string[]) => void; onClick: (name: string, item?: PopMenuListItemProps, path?: string[]) => void; }>; export declare const usePopMenuContext: () => { direction: TPopMenuDirection; props: PopoverProps; handle: IPopMenuHandler; menuIndex: number; path: string[]; value: string[]; onChange: (value: string[]) => void; onClick: (name: string, item?: PopMenuListItemProps, path?: string[]) => void; };