export declare const groupBy: (array: T[], getKey: (item: T) => K, getValue: (item: T) => V) => Record; export declare const diff: (array: T[], otherArray: T[]) => T[]; export declare const partition: (array: T[], condition: (v: T) => boolean) => [T[], T[]]; export declare const downloadAllGraphqlPages: (params: { /** Query needs to accept $offset: Int and $limit: Int params */ query: string; variables: Record; url: string | URL; mapResponse: (res: unknown) => T[]; }) => Promise;