export type PropsOfObjectWithValuesOfType = { [K in keyof T]: T[K] extends V ? K : never; }[keyof T]; export type OrderBy = 'ASC' | 'DESC'; export declare const filterObjects: (objects: T[], groupBy: PropsOfObjectWithValuesOfType, orderGroupBy?: OrderBy) => [string, T[]][];