import { Component } from 'react';
import { AddFeedbackProps, FeedbackType } from './interface';
import './index.less';
interface AddFeedbackState {
    type: FeedbackType;
    visible: boolean;
    props: AddFeedbackProps;
}
export default class AddFeedback extends Component<AddFeedbackProps, AddFeedbackState> {
    private formRef;
    static defaultProps: {
        btnText: string;
    };
    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: () => JSX.Element;
    render(): JSX.Element;
}
export {};
