/** * Returns all the elements of an array except the last one. * * @since 1.0.0 * * @param {Array} array - The array to query. * @returns {Array} - A new array with all elements except the last one. * * @example * * initial([1, 2, 3]); // => [1, 2] */ declare const initial: (array: T[]) => T[]; export default initial;