/** * Returns a new array with n elements removed from the specified direction * @param {T[]} array The target array * @param {number} n The number of elements to remove * @param {"left" | "right" | "between"} direction The direction to remove elements from * @returns A new array with n elements removed * * @example drop([1, 2, 3, 4, 5], 2); // [3, 4, 5] * @example drop([1, 2, 3, 4, 5], 2, "left"); // [3, 4, 5] * @example drop([1, 2, 3, 4, 5], 2, "right"); // [1, 2, 3] * @example drop([1, 2, 3, 4, 5], 1, "between"); // [1, 2, 4, 5] */ export declare const drop: (array: T[], n?: number, direction?: "left" | "right" | "between") => T[];