/** * Removes the last element from an array and returns it. * @param {T[]} array - The array to remove the last element from. * @returns {T | undefined} - The last element of the array, or undefined if the array is empty. */ export declare const pop: (array: T[]) => T | undefined;