Support --declaration-only