import { DriveItem } from '@opencloud-eu/web-client/graph/generated'; import { SharesStore, SpacesStore } from '../../composables/piniaStores'; import { SpaceResource } from '@opencloud-eu/web-client'; /** * Since shared spaces are only virtual, they and their permissions can't be fetched from the server. * Hence the permissions for the current user may need to be set manually via the corresponding drive item. */ export declare const setCurrentUserShareSpacePermissions: ({ sharesStore, spacesStore, space, sharedDriveItem }: { sharesStore: SharesStore; spacesStore: SpacesStore; space: SpaceResource; sharedDriveItem: DriveItem; }) => void;