import React from 'react';
import { type SmartLinkModalAPI, type SmartLinkModalProviderProps } from './types';
export declare const SmartLinkModalContext: React.Context<SmartLinkModalAPI>;
export declare const SmartLinkModalProvider: ({ children, }: SmartLinkModalProviderProps) => React.JSX.Element;
/**
 * Open (lazy load) modal
 *
 * This hook injects the element below Card and standalone HoverCard component.
 * It is intended to solve the issue where modal triggered by the parent component
 * disappear when the parent component is unmounted.
 *
 * For example, clicking on hover card action to open a modal. Once the modal is opened,
 * hover card disappears.
 *
 * Usage:
 *   const modal = useSmartLinkModal()
 *   modal.open(<SomeLazyLoadModal isOpen={true} onClose={() => modal.close()} />);
 */
export declare const useSmartLinkModal: () => SmartLinkModalAPI;
