import { EdgeProps } from "../../typings/Edge"; import { NodeFrontProps, NodeProps } from "../../typings/Node"; type SyncExploreFunc = (id: string) => { inside: NodeProps[]; outside: NodeProps[]; edges: EdgeProps[]; }; type Props = { node: NodeFrontProps; syncExplore?: SyncExploreFunc; }; declare function useExplore(): { loading: boolean; exploreFunc: ({ node, syncExplore }: Props) => Promise; }; export default useExplore;