d.ts for node imap