export {};
declare global {
    interface Array<T> {
        /**
         * Retrieve the first element of the array.
         * @throws {ArrayIndexOutOfBoundsError}
         * @returns the first element of the array
         */
        first: T;
        /**
         * Retrieve the first element of the array or undefined if the array is empty.
         * @returns the first element of the array or undefined if the array is empty
         */
        firstOrDefault: T | undefined;
        /**
         * Retrieve the last element of the array.
         * @throws {ArrayIndexOutOfBoundsError}
         * @returns the last element of the array
         */
        last: T;
        /**
         * Retrieve the last element of the array or undefined if the array is empty.
         * @returns the last element of the array or undefined if the array is empty
         */
        lastOrDefault: T | undefined;
    }
}
