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

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

export { ContactLocations, type ContactLocationsProps };
