import * as React from 'react';
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-Cz9FycbA.js';
import { FormFieldConfig, PageSpeedFormConfig } from '@page-speed/forms/integration';
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } 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 BrowserPreviewConfig {
    /**
     * URL displayed in browser bar
     */
    url?: string;
    /**
     * Dashboard preview image
     */
    image?: ImageItem;
}
interface HeroSaasDashboardPreviewProps {
    /**
     * Badge text with icon
     */
    badgeText?: React.ReactNode;
    /**
     * Badge icon name
     */
    badgeIcon?: string;
    /**
     * Custom slot for badge (overrides badge props)
     */
    badgeSlot?: React.ReactNode;
    /**
     * Main heading content
     */
    heading?: React.ReactNode;
    /**
     * Description text below heading
     */
    description?: React.ReactNode;
    /**
     * Form field configuration
     */
    formFields?: FormFieldConfig[];
    /**
     * Form configuration for submission
     */
    formConfig?: PageSpeedFormConfig;
    /**
     * Custom submit handler
     */
    onSubmit?: (values: Record<string, any>) => void | Promise<void>;
    /**
     * Success callback
     */
    onSuccess?: (data: unknown) => void;
    /**
     * Error callback
     */
    onError?: (error: Error) => void;
    /**
     * Success message to display
     */
    successMessage?: React.ReactNode;
    /**
     * Submit button configuration
     */
    buttonAction?: ActionConfig;
    /**
     * Helper text below form
     */
    helperText?: React.ReactNode;
    /**
     * Custom slot for form (overrides form props)
     */
    formSlot?: React.ReactNode;
    /**
     * Browser preview configuration
     */
    browserPreview?: BrowserPreviewConfig;
    /**
     * Custom slot for browser preview (overrides browserPreview prop)
     */
    browserPreviewSlot?: React.ReactNode; /**
     * Background style for the section
     */
    background?: SectionBackground;
    /**
     * Vertical spacing for the section
     */
    spacing?: SectionSpacing;
    /**
     * Optional background pattern name
     */
    pattern?: PatternName | undefined;
    /**
     * Pattern overlay opacity (0-1)
     */
    patternOpacity?: number;
    /**
     * Additional CSS classes for the section
     */
    className?: string;
    /**
     * Additional CSS classes for the container
     */
    containerClassName?: string;
    /**
     * Additional CSS classes for the header area
     */
    headerClassName?: string;
    /**
     * Additional CSS classes for the heading
     */
    headingClassName?: string;
    /**
     * Additional CSS classes for the description
     */
    descriptionClassName?: string;
    /**
     * Additional CSS classes for the preview area
     */
    previewClassName?: string;
    /**
     * OptixFlow image optimization configuration
     */
    optixFlowConfig?: OptixFlowConfig;
}
declare function HeroSaasDashboardPreview({ badgeText, badgeIcon, badgeSlot, heading, description, formFields, formConfig, onSubmit, onSuccess, onError, successMessage, buttonAction, helperText, formSlot, browserPreview, browserPreviewSlot, background, containerClassName, spacing, pattern, patternOpacity, className, headerClassName, headingClassName, descriptionClassName, previewClassName, optixFlowConfig, }: HeroSaasDashboardPreviewProps): React.JSX.Element;

export { HeroSaasDashboardPreview, type HeroSaasDashboardPreviewProps };
