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

interface ContactFaqFormValues {
    name: string;
    email: string;
    subject: string;
    message: string;
}
interface ContactFaqProps {
    heading?: string;
    description?: string;
    buttonText?: string;
    className?: string;
    formConfig?: PageSpeedFormConfig;
    onSubmit?: (values: ContactFaqFormValues) => void | Promise<void>;
    onSuccess?: (data: unknown) => void;
    onError?: (error: Error) => void;
}
/**
 * ContactFaq - FAQ contact form for questions not answered in FAQ section.
 *
 * @example
 * ```tsx
 * <ContactFaq
 *   heading="Still need help?"
 *   formConfig={{ endpoint: "/api/contact", format: "json" }}
 * />
 * ```
 */
declare function ContactFaq({ heading, description, buttonText, className, formConfig, onSubmit, onSuccess, onError, }: ContactFaqProps): React.JSX.Element;

export { ContactFaq, type ContactFaqProps };
