export type FeedbackPayload = { type: "comments" | "suggestions" | "questions"; message: string; firstName: string; lastName: string; email: string; }; /** Provide onSubmit or submitUrl — with neither, the form still validates and shows a success toast, but nothing is ever sent. */ export type FeedbackFormProps = { onSubmit?: (payload: FeedbackPayload) => Promise | void; submitUrl?: string; isSubmittingText?: string; submitText?: string; /** Only seeds state via useState's initializer on mount — changing this prop later does not resync the rendered fields. */ defaultValues?: Partial; isDisabled?: boolean; }; /** Renders its own success/error toast via this library's Toaster — needs a mounted ToasterProvider. */ export default function FeedbackForm(props: FeedbackFormProps): import("react/jsx-runtime").JSX.Element;