There is an issue here, when you have `export default function foo() {}`. This is equivalent to a function declaration and the corresponding export. The transpiler should check if `default` is a function and it is named, then use `b.functionDeclaration()` to return two elements in the body of the replacement.