Diverted (duodeno-ileal interposition) and non-diverted (jejuno-ileal interposition) are the two types of ileal interposition surgery.