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