import type { ReactNode, RefObject } from "react"; import type { TPoint } from "../../config/types/index.d.mts"; /** * Получает контент для слота панели * @param children{ReactNode|Function} * @param data{TPoint} * @returns {ReactElement} */ declare const getSlot: ((children: (ReactNode | ((args: TPoint) => ReactNode)), data?: TPoint | null) => ReactNode); /** * Хук позволяет использовать условный рендеринг с CSS-свойством `transition` * @param onOpen{null|Function=} * @param onHide{null|Function=} * @param ref{RefObject} * @param delay{Number=} * @returns {{ * isVisible: boolean, * show: Function, * hide: Function * }} */ declare const useVisibility: ({ ref, delay, onShow, onHide, }: { ref: RefObject; delay?: number; onShow?: null | (() => void); onHide?: null | (() => void); }) => { isVisible: boolean; show: Function; hide: Function; }; export { getSlot, useVisibility, };