export function addApiErrorHandlers(api: any): any;