import { CollaboratorShare, LinkShare, ShareRole } from '@opencloud-eu/web-client'; import { Ref } from 'vue'; import { AddLinkOptions, AddShareOptions, DeleteLinkOptions, DeleteShareOptions, UpdateLinkOptions, UpdateShareOptions } from './types'; import { UnifiedRoleDefinition } from '@opencloud-eu/web-client/graph/generated'; export declare const useSharesStore: import("pinia").SetupStoreDefinition<"shares", { loading: Ref; collaboratorShares: Ref; linkShares: Ref; graphRoles: Ref, Record>; setGraphRoles: (values: UnifiedRoleDefinition[]) => void; setLoading: (value: boolean) => void; setCollaboratorShares: (values: CollaboratorShare[]) => void; setLinkShares: (values: LinkShare[]) => void; removeOrphanedShares: () => void; pruneShares: () => void; addShare: ({ clientService, space, resource, options }: AddShareOptions) => Promise; updateShare: ({ clientService, space, resource, collaboratorShare, options }: UpdateShareOptions) => Promise; deleteShare: ({ clientService, space, resource, collaboratorShare }: DeleteShareOptions) => Promise; addLink: ({ clientService, space, resource, options }: AddLinkOptions) => Promise; updateLink: ({ clientService, space, resource, linkShare, options }: UpdateLinkOptions) => Promise; deleteLink: ({ clientService, space, resource, linkShare }: DeleteLinkOptions) => Promise; }>; export type SharesStore = ReturnType;