import type { Generic } from 'adopted-style-sheets'; import type { Callback } from '../enums'; import type { EventCallback } from '../types/callbacks'; export type PopoverCloseEvent = MouseEvent | KeyboardEvent | ToggleEvent; export type PopoverCallbacksPropType = { [Callback.onClose]?: EventCallback; }; export type PropPopoverCallbacks = { on: PopoverCallbacksPropType; }; export declare const validatePopoverCallbacks: (component: Generic.Element.Component, value?: PopoverCallbacksPropType) => void;