Merge variable declaration and export.