import type { InjectionKey, Ref } from 'vue'; import type { OnSelect, PanelMode } from './interface'; export declare type ContextOperationRefProps = { onKeydown?: (e: KeyboardEvent) => boolean; onClose?: () => void; }; export declare type PanelContextProps = { operationRef?: Ref; /** Only work with time panel */ hideHeader?: Ref; panelRef?: Ref; hidePrevBtn?: Ref; hideNextBtn?: Ref; onDateMouseenter?: (date: any) => void; onDateMouseleave?: (date: any) => void; onSelect?: OnSelect; hideRanges?: Ref; open?: Ref; mode?: Ref; /** Only used for TimePicker and this is a deprecated prop */ defaultOpenValue?: Ref; }; declare const PanelContextKey: InjectionKey; export declare const useProvidePanel: (props: PanelContextProps) => void; export declare const useInjectPanel: () => PanelContextProps; export default PanelContextKey;