export declare function maxSubArray(arr: Array, key?: keyof T): { low: number; high: number; sum: number; };