import { Favorite } from "../types/favoriteTypes"; type FavoritesHook = { /** * The current favorites list from the store. */ favorites: Favorite[]; /** * Adds a favorite to the favorites store. */ addFavorite: (favorite: Favorite) => void; /** * Removes the favorite for the given id from the favorites store. */ removeFavorite: (id: Favorite["id"]) => void; /** * Returns true if the current id has been favorited. */ isFavorited: (id: Favorite["id"]) => boolean; }; /** * The useFavorites() hook is used by FavoriteMaker to interact with the redux store. */ export declare const useFavorites: () => FavoritesHook; export {}; //# sourceMappingURL=useFavorites.d.ts.map