export declare const sumBy: <T extends Record<string, any>>(data: T[], key: keyof T) => number;
