import { Component } from 'react';
import { AddFeedbackProps, FeedbackType } from './interface';
import { Locale } from '../locale/interface';
import './index.less';
interface AddFeedbackState {
    type: FeedbackType;
    visible: boolean;
    props: AddFeedbackProps;
}
export default class AddFeedback extends Component<AddFeedbackProps, AddFeedbackState> {
    private formRef;
    static getDerivedStateFromProps(nextProps: AddFeedbackProps, prevState: AddFeedbackState): {
        visible: boolean | undefined;
        props: AddFeedbackProps;
        type?: undefined;
    } | {
        type: FeedbackType | undefined;
        props: AddFeedbackProps;
        visible?: undefined;
    } | {
        props: AddFeedbackProps;
        visible?: undefined;
        type?: undefined;
    };
    constructor(props: AddFeedbackProps);
    showModal: () => void;
    hideModal: () => void;
    renderButton: (uiLocale: Locale) => JSX.Element;
    render(): JSX.Element;
}
export {};
