import * as React from 'react';
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
import { A as ActionConfig } from './blocks-DCvdF54D.js';
import 'react/jsx-runtime';
import 'class-variance-authority';
import '@page-speed/pressable';
import '@opensite/hooks/usePlatformFromUrl';

interface PricingCollapsiblePlanFeature {
    /**
     * Feature text
     */
    text?: React.ReactNode;
    /**
     * Optional icon element
     */
    icon?: React.ReactNode;
    /**
     * Optional icon name for DynamicIcon
     */
    iconName?: string;
    /**
     * Additional CSS classes for feature item
     */
    className?: string;
    /**
     * Additional CSS classes for feature icon
     */
    iconClassName?: string;
    /**
     * Additional CSS classes for feature text
     */
    textClassName?: string;
}
interface PricingCollapsiblePlan {
    /**
     * Plan name
     */
    name?: React.ReactNode;
    /**
     * Plan price
     */
    price?: React.ReactNode;
    /**
     * Price description/interval
     */
    priceDescription?: React.ReactNode;
    /**
     * Plan description
     */
    description?: React.ReactNode;
    /**
     * Plan features
     */
    features?: PricingCollapsiblePlanFeature[];
    /**
     * Custom slot for rendering features (overrides features array)
     */
    featuresSlot?: React.ReactNode;
    /**
     * Action configuration
     */
    action?: ActionConfig;
    /**
     * Custom slot for rendering action (overrides action)
     */
    actionSlot?: React.ReactNode;
    /**
     * Highlight this plan
     */
    isPopular?: boolean;
    /**
     * Badge content for popular plan
     */
    badge?: React.ReactNode;
    /**
     * Additional CSS classes for the plan card
     */
    className?: string;
}
interface PricingCollapsiblePlansProps {
    /**
     * Section title
     */
    title?: React.ReactNode;
    /**
     * Section subtitle
     */
    subtitle?: React.ReactNode;
    /**
     * Pricing plans
     */
    plans?: PricingCollapsiblePlan[];
    /**
     * Custom slot for rendering plans (overrides plans array)
     */
    plansSlot?: React.ReactNode;
    /**
     * Default selected plan index
     */
    defaultSelectedIndex?: number;
    /**
     * Controlled selected plan index
     */
    selectedIndex?: number;
    /**
     * Callback when selection changes
     */
    onSelectionChange?: (index: number) => void;
    /**
     * Default icon used for features
     */
    featureIcon?: React.ReactNode;
    /**
     * Default icon name for features
     */
    featureIconName?: string;
    /**
     * Badge content for popular plans
     */
    popularBadge?: React.ReactNode;
    /**
     * Background style for the section
     */
    background?: SectionBackground;
    /**
     * Vertical spacing for the section
     */
    spacing?: SectionSpacing;
    /**
     * Optional background pattern name or URL
     */
    pattern?: PatternName | undefined;
    /**
     * Pattern overlay opacity (0-1)
     */
    patternOpacity?: number;
    /**
     * Additional CSS classes for the pattern overlay
     */
    patternClassName?: string;
    /**
     * Additional CSS classes for the section
     */
    className?: string;
    /**
     * Additional CSS classes for the container
     */
    containerClassName?: string;
    /**
     * Additional CSS classes for the header
     */
    headerClassName?: string;
    /**
     * Additional CSS classes for the title
     */
    titleClassName?: string;
    /**
     * Additional CSS classes for the subtitle
     */
    subtitleClassName?: string;
    /**
     * Additional CSS classes for the mobile selector
     */
    mobileSelectorClassName?: string;
    /**
     * Additional CSS classes for the selector button
     */
    selectorButtonClassName?: string;
    /**
     * Additional CSS classes for the dropdown
     */
    dropdownClassName?: string;
    /**
     * Additional CSS classes for dropdown items
     */
    dropdownItemClassName?: string;
    /**
     * Additional CSS classes for selected dropdown item
     */
    dropdownItemSelectedClassName?: string;
    /**
     * Additional CSS classes for the mobile plan card
     */
    mobileCardClassName?: string;
    /**
     * Additional CSS classes for the desktop grid
     */
    desktopGridClassName?: string;
    /**
     * Additional CSS classes for desktop cards
     */
    cardClassName?: string;
    /**
     * Additional CSS classes for popular cards
     */
    popularCardClassName?: string;
    /**
     * Additional CSS classes for badges
     */
    badgeClassName?: string;
    /**
     * Additional CSS classes for plan titles
     */
    planTitleClassName?: string;
    /**
     * Additional CSS classes for plan descriptions
     */
    planDescriptionClassName?: string;
    /**
     * Additional CSS classes for price
     */
    priceClassName?: string;
    /**
     * Additional CSS classes for price description
     */
    priceDescriptionClassName?: string;
    /**
     * Additional CSS classes for features list
     */
    featuresClassName?: string;
    /**
     * Additional CSS classes for feature items
     */
    featureItemClassName?: string;
    /**
     * Additional CSS classes for feature icons
     */
    featureIconClassName?: string;
    /**
     * Additional CSS classes for feature text
     */
    featureTextClassName?: string;
    /**
     * Additional CSS classes for the action
     */
    actionClassName?: string;
    /** Optional Section ID */
    sectionId?: string;
}
/**
 * PricingCollapsiblePlans displays pricing plans with a collapsible mobile menu and desktop comparison.
 * Features a dropdown plan selector on mobile and expanded cards on desktop.
 * Ideal for responsive pricing pages that need to work well on all screen sizes.
 *
 * Perfect for mobile-first pricing experiences.
 *
 * @example
 * ```tsx
 * <PricingCollapsiblePlans
 *   title="Choose Your Plan"
 *   plans={[
 *     { name: "Starter", price: "$9", features: [{ text: "Feature 1" }] }
 *   ]}
 * />
 * ```
 */
declare function PricingCollapsiblePlans({ sectionId, title, subtitle, plans, plansSlot, defaultSelectedIndex, selectedIndex, onSelectionChange, featureIcon, featureIconName, popularBadge, background, spacing, pattern, patternOpacity, patternClassName, className, containerClassName, headerClassName, titleClassName, subtitleClassName, mobileSelectorClassName, selectorButtonClassName, dropdownClassName, dropdownItemClassName, dropdownItemSelectedClassName, mobileCardClassName, desktopGridClassName, cardClassName, popularCardClassName, badgeClassName, planTitleClassName, planDescriptionClassName, priceClassName, priceDescriptionClassName, featuresClassName, featureItemClassName, featureIconClassName, featureTextClassName, actionClassName, }: PricingCollapsiblePlansProps): React.JSX.Element;

export { PricingCollapsiblePlans, type PricingCollapsiblePlansProps };
