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