Kraft, the American food group, is close to finalising a deal with lenders on the funding of its bid for Cadbury.