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

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

export { ContactRsvp, type ContactRsvpProps };
