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

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

export { ContactEvent, type ContactEventProps };
