import React from 'react';

interface Product {
    id: number;
    name: string;
}

interface MitreFormComponentProps {
    products: Product[];
    apiUrl: string;
    apiToken: string;
    showHeader?: boolean;
    backgroundColor?: string;
    buttonBackgroundColor?: string;
    buttonTextColor?: string;
    textColor?: string;
    innerPadding?: string;
    inputBackgroundColor?: string;
    inputFocusBorderColor?: string;
    inputBorderColor?: string;
    inputTextColor?: string;
    inputPlaceholderColor?: string;
    onSuccess?: (requestBody: RequestBody, leadId: string) => void;
    onError?: (error: Error) => void;
}
interface RequestBody {
    name: string;
    email: string;
    phone: string;
    message: string;
    productId: string;
    utm_source: string;
    utm_medium?: string;
    utm_campaign?: string;
    utm_term?: string;
}
declare const MitreFormComponent: React.ForwardRefExoticComponent<MitreFormComponentProps & React.RefAttributes<HTMLDivElement>>;

export { MitreFormComponent, type MitreFormComponentProps, type RequestBody };
