export type UseListSelectReturnValue<T> = {
    clear: () => void;
    getIsSelected: (item: T) => boolean;
    selected: T[];
    selectOnlyTheseItems: (items: T[]) => void;
    toggleItem: (item: T) => void;
};
export declare function useListSelect<T>(keyFn: (item: T) => string): UseListSelectReturnValue<T>;
