import type { Ary, IfpList, List, Num, Yield1$, } from '../../internal/types/tools/index.js'; declare global { interface Array { /** * Drops the first `count` elements from the array. * @param count - The number of elements to drop. * * @example * ```typescript * [1, 2, 3, 4, 5].drop(3); // => [4, 5] * [1, 2, 3, 4, 5].drop(0); // => [1, 2, 3, 4, 5] * [1, 2, 3, 4, 5].drop(10); // => [] * ``` */ drop: ( this: AS, count: N, ) => IfpList< AS, Num.IfNat, Ary.Mutate$>, Yield1$ >; } interface ReadonlyArray { /** * Drops the first `count` elements from the array. * @param count - The number of elements to drop. * * @example * ```typescript * [1, 2, 3, 4, 5].drop(3); // => [4, 5] * [1, 2, 3, 4, 5].drop(0); // => [1, 2, 3, 4, 5] * [1, 2, 3, 4, 5].drop(10); // => [] * ``` */ drop: ( this: AS, count: N, ) => IfpList< AS, Num.IfNat, Ary.Mutate$>, Yield1$ >; } } //# sourceMappingURL=drop.d.ts.map