import * as React from 'react';
import { P as PageSpeedFormConfig } from './forms-BCcwNFhk.js';

interface ContactImageFormValues {
    first_name: string;
    last_name: string;
    email: string;
    phone: string;
    message: string;
}
interface ContactImageProps {
    heading?: string;
    description?: string;
    buttonText?: string;
    className?: string;
    formConfig?: PageSpeedFormConfig;
    onSubmit?: (values: ContactImageFormValues) => void | Promise<void>;
    onSuccess?: (data: unknown) => void;
    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, className, formConfig, onSubmit, onSuccess, onError, }: ContactImageProps): React.JSX.Element;

export { ContactImage, type ContactImageProps };
