import type { UseFetchStateProps } from "./useFetch"; import type { PickRename } from "../types/global"; type Response = Record; type State = PickRename>, "data", "query">; type SetState = { areas: Array; }; type Return = [ State, (setQuery: SetState) => void ]; /** * Hook to receive GPX interests from Griddo's Public API. * * @example * const [{ query }, setQuery] = useReceiveInterests(); * setQuery({ areas: ["Area1"] }); */ export declare function useReceiveInterests(): Return; export {};