declare function replaceAll( str: string, substr: string, newSubstr: string ): string; export default replaceAll;