import type Collection from './Support/Collection'; import type Paginator from './Support/Paginator'; import collect from './Support/initialiser/collect'; import paginate from './Support/initialiser/paginate'; declare global { /** * Globally available methods on Array.prototype. */ interface Array { /** * Create a collection from the array. * * @return {Collection} */ collect: () => Collection; /** * Construct a paginator instance. * * @return {Paginator} */ paginate: () => Paginator; } /** * Globally available methods on Array. */ interface ArrayConstructor { /** * Create a collection from the array. * * @param {any} items * * @return {Collection} */ collect: (items?: any[]) => ReturnType; /** * Ensure the given value is an array. * * @param {any} value * * @return {array}; */ wrap: (value?: any) => any[]; /** * Construct a paginator instance. * * @param {any} items * * @return {Paginator} */ paginate: (items: any[]) => ReturnType; } } //# sourceMappingURL=array.d.ts.map