import { Dispatch } from 'react'; import { ShareRightWithVisibles } from '@edifice.io/client'; import { ShareAction } from './useShare'; interface UseShareBookmarkProps { shareRights: ShareRightWithVisibles; shareDispatch: Dispatch; } export type BookmarkProps = { name: string; id: string; }; export declare const useShareBookmark: ({ shareRights, shareDispatch, }: UseShareBookmarkProps) => { refBookmark: import('react').RefObject; showBookmark: boolean; showBookmarkInput: boolean; bookmark: BookmarkProps; handleBookmarkChange: () => void; setBookmark: Dispatch>; handleOnSave: () => Promise; toggleBookmark: () => void; toggleBookmarkInput: Dispatch>; }; export {};