import * as React from 'react';
import { S as SectionBackground } from './community-initiatives-Cz9FycbA.js';
import { FormEngineProps } from '@page-speed/forms/integration';
import { I as ImageItem, O as OptixFlowConfig, A as ActionConfig } from './blocks-BJ3CyHu6.js';
import 'react/jsx-runtime';
import 'class-variance-authority';
import './button-variants-lRElsmTc.js';
import 'class-variance-authority/types';
import '@opensite/hooks/usePlatformFromUrl';

interface OfferModalMembershipImageProps {
    /**
     * Overline/eyebrow content displayed above the title
     */
    overline?: React.ReactNode;
    /**
     * Main title content for the offer
     */
    title?: React.ReactNode;
    /**
     * Description content displayed below the form
     */
    description?: React.ReactNode;
    /**
     * Image configuration for the header
     */
    image?: ImageItem;
    /**
     * Custom slot for rendering the image (overrides image prop)
     */
    imageSlot?: React.ReactNode;
    /**
     * Custom slot for the close button (overrides default close button)
     */
    closeButtonSlot?: React.ReactNode;
    /**
     * Custom slot for the form (overrides default form)
     */
    formSlot?: React.ReactNode;
    /**
     * Custom slot for the footer/description area (overrides description)
     */
    footerSlot?: React.ReactNode;
    /**
     * Whether the dialog is open (controlled mode)
     */
    open?: boolean;
    /**
     * Callback when the dialog open state changes
     */
    onOpenChange?: (open: boolean) => void;
    /**
     * Whether the dialog is open by default (uncontrolled mode)
     */
    defaultOpen?: boolean;
    /**
     * Additional CSS classes for the dialog content wrapper
     */
    className?: string;
    /**
     * Additional CSS classes for the image wrapper
     */
    imageWrapperClassName?: string;
    /**
     * Additional CSS classes for the image element
     */
    imageClassName?: string;
    /**
     * Additional CSS classes for the content area (below image)
     */
    contentClassName?: string;
    /**
     * Additional CSS classes for the overline text
     */
    overlineClassName?: string;
    /**
     * Additional CSS classes for the title
     */
    titleClassName?: string;
    /**
     * Additional CSS classes for the description
     */
    descriptionClassName?: string;
    /**
     * Additional CSS classes for the form
     */
    formClassName?: string;
    /**
     * Additional CSS classes for the close button
     */
    closeClassName?: string;
    /**
     * Additional CSS classes for the footer
     */
    footerClassName?: string;
    /**
     * Optional configuration for OptixFlow image optimization
     */
    optixFlowConfig?: OptixFlowConfig;
    /**
     * Background style variant for the section
     * @default "default"
     */
    background?: SectionBackground;
    /**
     * Full form engine setup and props
     */
    formEngineSetup?: FormEngineProps;
    /**
     * Submit button configuration
     */
    buttonAction?: ActionConfig;
}
/**
 * OfferModalMembershipImage - A visually rich membership offer modal featuring a header image,
 * overline text, compelling title, email signup form with icon, and descriptive footer text.
 * Includes responsive design with mobile-optimized layout and hover animations on the close button.
 * Ideal for e-commerce membership programs, exclusive offers, or premium newsletter signups.
 *
 * The newsletter form is powered by `FormEngine` from `@page-speed/forms/integration`,
 * which handles validation, submission, error handling, and success states.
 *
 * @example
 * ```tsx
 * <OfferModalMembershipImage
 *   overline="Treat Yourself!"
 *   title="Become a Member & Enjoy 20% Off"
 *   description="Sign up to receive our latest updates."
 *   image={{ src: "/promo.jpg", alt: "Promotional image" }}
 *   formEngineSetup={{
 *     formConfig: { endpoint: "/api/subscribe", format: "json" },
 *   }}
 * />
 * ```
 */
declare function OfferModalMembershipImage({ overline, title, description, image, imageSlot, closeButtonSlot, formSlot, footerSlot, open, onOpenChange, defaultOpen, className, imageWrapperClassName, imageClassName, contentClassName, overlineClassName, titleClassName, descriptionClassName, formClassName, closeClassName, footerClassName, optixFlowConfig, background, formEngineSetup, buttonAction, }: OfferModalMembershipImageProps): React.JSX.Element;

export { OfferModalMembershipImage, type OfferModalMembershipImageProps };
