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

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

export { ContactVendor, type ContactVendorProps };
