import * as React from 'react';
import { P as PageSpeedFormConfig } from './forms-BCcwNFhk.js';
import { A as ActionConfig } from './blocks-BmrJXeAA.js';
import 'class-variance-authority';
import './button-variants-OIpPF9yW.js';
import 'class-variance-authority/types';

interface ContactFaqFormValues {
    name: string;
    email: string;
    subject: string;
    message: string;
}
interface ContactFaqProps {
    /**
     * Main heading text
     */
    heading?: React.ReactNode;
    /**
     * Description text below heading
     */
    description?: React.ReactNode;
    /**
     * Form section heading
     */
    formHeading?: React.ReactNode;
    /**
     * Submit button text
     */
    buttonText?: string;
    /**
     * Icon to display in submit button
     */
    buttonIcon?: React.ReactNode;
    /**
     * Array of action configurations for custom buttons
     */
    actions?: ActionConfig[];
    /**
     * Custom slot for rendering actions (overrides actions array)
     */
    actionsSlot?: React.ReactNode;
    /**
     * Additional CSS classes for the section
     */
    className?: string;
    /**
     * Additional CSS classes for the container
     */
    containerClassName?: string;
    /**
     * Additional CSS classes for the header
     */
    headerClassName?: string;
    /**
     * Additional CSS classes for the heading
     */
    headingClassName?: string;
    /**
     * Additional CSS classes for the description
     */
    descriptionClassName?: string;
    /**
     * Additional CSS classes for the card
     */
    cardClassName?: string;
    /**
     * Additional CSS classes for the card content
     */
    cardContentClassName?: string;
    /**
     * Additional CSS classes for the form heading
     */
    formHeadingClassName?: string;
    /**
     * Additional CSS classes for the form
     */
    formClassName?: string;
    /**
     * Additional CSS classes for the submit button
     */
    submitClassName?: string;
    /**
     * Form configuration for PageSpeed forms
     */
    formConfig?: PageSpeedFormConfig;
    /**
     * Custom submit handler
     */
    onSubmit?: (values: ContactFaqFormValues) => void | Promise<void>;
    /**
     * Success callback
     */
    onSuccess?: (data: unknown) => void;
    /**
     * Error callback
     */
    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, formHeading, buttonText, buttonIcon, actions, actionsSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, cardClassName, cardContentClassName, formHeadingClassName, formClassName, submitClassName, formConfig, onSubmit, onSuccess, onError, }: ContactFaqProps): React.JSX.Element;

export { ContactFaq, type ContactFaqProps };
