import React from 'react';
declare const ModifyNameInput: React.FC<{
    defaultValue?: string;
    placeholder?: string;
    onChange?: (name: string) => void;
    validator?: (name: string) => {
        /**
         * 是否合法
         */
        valid: boolean;
        /**
         * 提示信息
         */
        msg: string;
    };
}>;
export default ModifyNameInput;
