import type { ReactNode } from 'react';
import type { ExtractInjectionAPI, NextEditorPlugin } from '../types';
import type { PopupUserIntent } from './types';
/**
 *
 * A wrapper for popups to signal popupOpen user intent
 */
export declare const UserIntentPopupWrapper: ({ userIntent, children, api, }: {
    api: ExtractInjectionAPI<NextEditorPlugin<any, any>> | undefined | null;
    children: React.ReactNode;
    userIntent?: PopupUserIntent;
}) => ReactNode;
