import React, { Component } from 'react'; export interface EditButtonProps { size?: any; label?: string; width?: number; icon?: React.ReactNode; disabled?: boolean; onChange?: (val: any) => void; onSave?: (val: any) => void; className?: string; style?: React.CSSProperties; } export interface EditButtonState { inputValue: string; inputVisible: boolean; } declare class EditButton extends Component { constructor(props: EditButtonProps); private input; handleClick: () => void; saveInputRef: (input: any) => void; handleInputChange: (e: React.ChangeEvent) => void; handleInputConfirm: () => void; render(): React.JSX.Element; } export default EditButton;