import React from 'react';
import { type PopupPlacement } from '@gravity-ui/uikit';
import type { ActionPopupConfig, ActionPopupContext } from "../../../types/messages.js";
import "./ActionPopup.css";
export type { ActionPopupConfig, ActionPopupContext };
export interface ActionPopupProps {
    /** Control popup open state */
    open: boolean;
    /** Callback when popup open state changes */
    onOpenChange: (open: boolean) => void;
    /** Anchor element for the popup */
    anchorElement: HTMLElement | null;
    /** Optional title text */
    title?: string;
    /** Optional subtitle text */
    subtitle?: string;
    /** Content to display in popup */
    children: React.ReactNode;
    /** Popup placement relative to anchor (default: 'bottom-start') */
    placement?: PopupPlacement;
    /** Additional CSS class */
    className?: string;
    /** QA/test identifier */
    qa?: string;
}
/**
 * ActionPopup - Universal anchored popup container for displaying content near action buttons
 *
 * This component provides a flexible popup container that can be anchored to any element
 * (typically action buttons). It supports optional title and subtitle, and can contain
 * any React content as children.
 *
 * @returns React element with anchored popup
 */
export declare function ActionPopup({ open, onOpenChange, anchorElement, title, subtitle, children, placement, className, qa, }: ActionPopupProps): import("react/jsx-runtime").JSX.Element;
