import type { ImapFlow } from '../imap-flow.js'; /** * Closes the currently selected mailbox. * * @param connection - IMAP connection instance * @returns True on success, false on failure, or undefined if not in SELECTED state */ export default function close(connection: ImapFlow): Promise;