export interface PatchItem<T> {
    type: 'add' | 'remove';
    oldPos: number;
    newPos: number;
    items: T[];
}
export type Patch<T> = PatchItem<T>[];
export declare function getPatch<T>(a: T[], b: T[], compareFunc?: (ia: T, ib: T) => boolean): Patch<T>;
