export type TGetLastFromIterableArgs = Parameters<typeof getLastFromIterable>;
export type TGetLastFromIterableReturn = ReturnType<typeof getLastFromIterable>;
/**
 * Gets the last element of an iterable object such as Array, NodeList, HTMLCollection, etc.
 * @template T
 * @param {ArrayLike<T> & Iterable<T>} obj
 * @returns {T|null}
 * @throws {TypeError} getLastFromIterable: obj must be iterable with a numeric length
 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
 * @example
 * // How to get the last element from `NodeList` of `div`?
 * const lastDiv = getLastFromIterable(document.querySelectorAll("div"));
 * console.log(lastDiv) // => Node or null
 */
export declare const getLastFromIterable: <T>(obj: ArrayLike<T> & Iterable<T>) => T | null;
