import * as React from 'react';
import { P as PageSpeedFormConfig } from './forms-CStlFhnh.js';
import { f as SectionBackground, g as SectionSpacing, s as PatternName } from './community-initiatives-AwBlQu1a.js';
import { A as ActionConfig } from './blocks-ClXAGlHQ.js';
import '@page-speed/forms/integration';
import 'react/jsx-runtime';
import 'class-variance-authority';
import './button-variants-lRElsmTc.js';
import 'class-variance-authority/types';

interface ContactImageFormValues {
    first_name: string;
    last_name: string;
    email: string;
    phone: string;
    message: string;
}
interface ContactImageProps {
    /**
     * Main heading text
     */
    heading?: React.ReactNode;
    /**
     * Description text below heading
     */
    description?: React.ReactNode;
    /**
     * Submit button text
     */
    buttonText?: string;
    /**
     * Icon to display in submit button
     */
    buttonIcon?: React.ReactNode;
    /**
     * Array of action configurations for custom buttons
     */
    actions?: ActionConfig[];
    /**
     * Custom slot for rendering actions (overrides actions array)
     */
    actionsSlot?: React.ReactNode;
    /**
     * 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 heading
     */
    headingClassName?: string;
    /**
     * Additional CSS classes for the description
     */
    descriptionClassName?: string;
    /**
     * Additional CSS classes for the card
     */
    cardClassName?: string;
    /**
     * Additional CSS classes for the card content
     */
    cardContentClassName?: string;
    /**
     * Additional CSS classes for the form
     */
    formClassName?: string;
    /**
     * Additional CSS classes for the submit button
     */
    submitClassName?: string; /**
     * 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;
    /**
     * Form configuration for PageSpeed forms
     */
    formConfig?: PageSpeedFormConfig;
    /**
     * Custom submit handler
     */
    onSubmit?: (values: ContactImageFormValues) => void | Promise<void>;
    /**
     * Success callback
     */
    onSuccess?: (data: unknown) => void;
    /**
     * Error callback
     */
    onError?: (error: Error) => void;
}
/**
 * ContactImage - Contact form with image background layout.
 *
 * @example
 * ```tsx
 * <ContactImage
 *   heading="Get in Touch"
 *   formConfig={{ endpoint: "/api/contact", format: "json" }}
 * />
 * ```
 */
declare function ContactImage({ heading, description, buttonText, buttonIcon, actions, actionsSlot, className, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, formClassName, submitClassName, background, spacing, containerClassName, pattern, patternOpacity, formConfig, onSubmit, onSuccess, onError, }: ContactImageProps): React.JSX.Element;

export { ContactImage, type ContactImageProps };
