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

interface ContactMapFormValues {
    first_name: string;
    last_name: string;
    email: string;
    phone: string;
    message: string;
}
interface ContactMapProps {
    heading?: string;
    description?: string;
    buttonText?: string;
    className?: string;
    formConfig?: PageSpeedFormConfig;
    onSubmit?: (values: ContactMapFormValues) => void | Promise<void>;
    onSuccess?: (data: unknown) => void;
    onError?: (error: Error) => void;
}
/**
 * ContactMap - Contact form with image background layout.
 *
 * @example
 * ```tsx
 * <ContactMap
 *   heading="Contact Us"
 *   formConfig={{ endpoint: "/api/contact", format: "json" }}
 * />
 * ```
 */
declare function ContactMap({ heading, description, buttonText, className, formConfig, onSubmit, onSuccess, onError, }: ContactMapProps): React.JSX.Element;

export { ContactMap, type ContactMapProps };
