import React, { FC } from 'react'; import { TextareaPropsWithRef } from '../Textarea'; import { AnyObject } from '../Utils'; export declare const defaultFeedbackSectionTestId: FeedbackSectionProps['testId']; export interface FeedbackSectionLang { title?: string; textareaPositivePlaceholder?: string; textareaNegativePlaceholder?: string; textareaNegativeValidateMessage?: string; description?: string | React.ReactNode; buttonText?: string; successText?: string; } export interface FeedbackSectionState { useful: boolean | undefined; comment: string; } export interface FeedbackSectionProps { state?: FeedbackSectionState; lang?: FeedbackSectionLang; onSubmit?: (data: FeedbackSectionState, resolve: (value: T) => void, reject: (reason?: string | AnyObject | Error) => void) => Promise | void; onYesClick?: () => void; onNoClick?: () => void; textareaProps?: TextareaPropsWithRef; testId?: { btnYes?: string; btnNo?: string; btnSubmit?: string; }; } export declare const FeedbackSection: FC;