import type { TrackReferenceOrPlaceholder } from '../track-reference'; type VisualChanges = { dropped: T[]; added: T[]; }; export type UpdatableItem = TrackReferenceOrPlaceholder | number; /** Check to see if anything visually changes on the page. */ export declare function visualPageChange(state: T[], next: T[]): VisualChanges; export declare function findIndex(trackReference: T, trackReferences: T[]): number; /** Swap items in the complete list of all elements */ export declare function swapItems(moveForward: T, moveBack: T, trackReferences: T[]): T[]; export declare function dropItem(itemToDrop: T, list: T[]): T[]; export declare function divideIntoPages(list: T[], maxElementsOnPage: number): Array; /** Divide the list of elements into pages and and check if pages need updating. */ export declare function updatePages(currentList: T[], nextList: T[], maxItemsOnPage: number): T[]; export {}; //# sourceMappingURL=tile-array-update.d.ts.map