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

interface ContactFeedbackFormValues {
    email: string;
    feedback: string;
}
interface ContactFeedbackProps {
    heading?: string;
    description?: string;
    buttonText?: string;
    className?: string;
    formConfig?: PageSpeedFormConfig;
    onSubmit?: (values: ContactFeedbackFormValues) => void | Promise<void>;
    onSuccess?: (data: unknown) => void;
    onError?: (error: Error) => void;
}
/**
 * ContactFeedback - Simple feedback form for collecting user feedback.
 *
 * @example
 * ```tsx
 * <ContactFeedback
 *   heading="Share Your Feedback"
 *   formConfig={{ endpoint: "/api/feedback", format: "json" }}
 * />
 * ```
 */
declare function ContactFeedback({ heading, description, buttonText, className, formConfig, onSubmit, onSuccess, onError, }: ContactFeedbackProps): React.JSX.Element;

export { ContactFeedback, type ContactFeedbackProps };
