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

interface PricingTogglePeriodOption {
    /**
     * Unique period identifier
     */
    id: string;
    /**
     * Display label for the period
     */
    label?: React.ReactNode;
    /**
     * Optional badge (e.g., Save 35%)
     */
    badge?: React.ReactNode;
    /**
     * Price suffix (e.g., /month)
     */
    priceSuffix?: React.ReactNode;
    /**
     * Additional CSS classes for the toggle button
     */
    className?: string;
    /**
     * Additional CSS classes for the badge
     */
    badgeClassName?: string;
}
interface PricingTogglePeriodFeature {
    /**
     * 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 PricingTogglePeriodPlan {
    /**
     * Plan name
     */
    name?: React.ReactNode;
    /**
     * Plan description
     */
    description?: React.ReactNode;
    /**
     * Map of period id to price
     */
    prices?: Record<string, React.ReactNode>;
    /**
     * Plan features
     */
    features?: PricingTogglePeriodFeature[];
    /**
     * 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;
    /**
     * Optional badge content
     */
    badge?: React.ReactNode;
    /**
     * Additional CSS classes for the plan card
     */
    className?: string;
}
interface PricingTogglePeriodProps {
    /**
     * Section title
     */
    title?: React.ReactNode;
    /**
     * Section subtitle
     */
    subtitle?: React.ReactNode;
    /**
     * Billing period toggle options
     */
    periods?: PricingTogglePeriodOption[];
    /**
     * Default period id
     */
    defaultPeriodId?: string;
    /**
     * Pricing plans
     */
    plans?: PricingTogglePeriodPlan[];
    /**
     * Custom slot for rendering plans (overrides plans array)
     */
    plansSlot?: React.ReactNode;
    /**
     * 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 toggle wrapper
     */
    toggleClassName?: string;
    /**
     * Additional CSS classes for toggle buttons
     */
    toggleButtonClassName?: string;
    /**
     * Additional CSS classes for active toggle buttons
     */
    toggleButtonActiveClassName?: string;
    /**
     * Additional CSS classes for the grid
     */
    gridClassName?: string;
    /**
     * Additional CSS classes for plan cards
     */
    cardClassName?: string;
    /**
     * Additional CSS classes for popular cards
     */
    popularCardClassName?: string;
    /**
     * Additional CSS classes for plan badges
     */
    badgeClassName?: string;
    /**
     * Additional CSS classes for plan titles
     */
    planTitleClassName?: string;
    /**
     * Additional CSS classes for plan descriptions
     */
    planDescriptionClassName?: string;
    /**
     * Additional CSS classes for the price
     */
    priceClassName?: string;
    /**
     * Additional CSS classes for price interval
     */
    priceIntervalClassName?: string;
    /**
     * Additional CSS classes for the 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;
}
/**
 * PricingTogglePeriod displays pricing plans with a toggle group for multiple billing periods.
 * Supports monthly, quarterly, and yearly billing options with visual toggle buttons.
 * Features clean two-column layout with popular plan highlighting.
 *
 * Ideal for products offering flexible billing period options beyond just monthly/yearly.
 *
 * @example
 * ```tsx
 * <PricingTogglePeriod
 *   title="Flexible Pricing"
 *   periods={[{ id: "monthly", label: "Monthly", priceSuffix: "/month" }]}
 *   plans={[
 *     { name: "Starter", prices: { monthly: "$19" }, features: [{ text: "Feature 1" }] }
 *   ]}
 * />
 * ```
 */
declare function PricingTogglePeriod({ title, subtitle, periods, defaultPeriodId, plans, plansSlot, featureIcon, featureIconName, popularBadge, background, spacing, pattern, patternOpacity, patternClassName, className, containerClassName, headerClassName, titleClassName, subtitleClassName, toggleClassName, toggleButtonClassName, toggleButtonActiveClassName, gridClassName, cardClassName, popularCardClassName, badgeClassName, planTitleClassName, planDescriptionClassName, priceClassName, priceIntervalClassName, featuresClassName, featureItemClassName, featureIconClassName, featureTextClassName, actionClassName, }: PricingTogglePeriodProps): React.JSX.Element;

export { PricingTogglePeriod, type PricingTogglePeriodProps };
