Italy is to provide billions of dollars to Libya as part of a deal to resolve colonial-era disputes, Italian PM Silvio Berlusconi has announced.