import { Ref } from 'vue';
export declare function useGroupBy<T, K extends keyof T>(list: Ref<T[]>, byKey: K): {
    orderedRef: import('vue').ComputedRef<T[]>;
    groupsRef: import('vue').ComputedRef<Map<NonNullable<T[K]>, T[]>>;
    restRef: import('vue').ComputedRef<T[]>;
};
