import type { FunctionComponent } from 'react'; import { ActionGroupProps, ButtonProps, CardBodyProps, CardHeaderProps, CardProps, FormProps, LabelGroupProps, OUIAProps, TextAreaProps } from '@patternfly/react-core'; import QuickResponse from '../QuickResponse/QuickResponse'; export interface UserFeedbackProps extends Omit, OUIAProps { /** Additional classes for the pagination navigation container. */ className?: string; /** Quick responses a user can select */ quickResponses?: QuickResponse[]; /** Props for quick responses container */ quickResponseContainerProps?: Omit; /** Whether form includes text area */ hasTextArea?: boolean; /** Placeholder of text area */ textAreaPlaceholder?: string; /** Aria label for text area */ textAreaAriaLabel?: string; /** Callback function for when text area changes */ onTextAreaChange?: (event: React.ChangeEvent, value: string) => void; /** Callback function for when form is submitted */ onSubmit: (selectedResponse?: string, additionalFeedback?: string) => void; /** Callback function for when close button is clicked */ onClose: () => void; /** Aria label for close button */ closeButtonAriaLabel?: string; /** Label for the English word "Submit." */ submitWord?: string; /** @deprecated Cancel button has been deprecated. Use the close button instead. Label for the English word "Cancel." */ cancelWord?: string; /** Uniquely identifies the card. */ id?: string; /** The heading level to use, default is h1 */ headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** Whether to focus card on load */ focusOnLoad?: boolean; /** Timestamp passed in by Message for more context in aria announcements */ timestamp?: string; /** Additional props passed to submit button */ submitButtonProps?: ButtonProps; /** Additional props passed to card header */ cardHeaderProps?: CardHeaderProps; /** Additional props passed to card body */ cardBodyProps?: CardBodyProps; /** Additional props passed to title heading */ headingLevelProps?: React.HTMLAttributes; /** Additional props passed to form */ formProps?: FormProps; /** Additional props passed to text area */ textAreaProps?: TextAreaProps; /** Additional props passed to action group */ actionGroupProps?: ActionGroupProps; /** Optional privacy statement text displayed under text area */ privacyStatement?: string; } export declare const UserFeedback: FunctionComponent; export default UserFeedback;