import { Ref } from 'vue'; import { Resource, SpaceResource } from '@opencloud-eu/web-client'; /** * Shared helpers for resource view components (like ResourceTable and ResourceTiles). */ export declare const useResourceViewHelpers: ({ space, resources, emit }: { space: Ref; resources: Ref; emit: ReturnType; }) => { getResourceCheckboxLabel: (resource: Resource) => string; areAllResourcesSelected: import("vue").ComputedRef; selectAllCheckboxLabel: import("vue").ComputedRef; toggleSelectionAll: () => void; shouldShowContextDrop: (item: Resource) => boolean; showContextMenuOnBtnClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import("vue").ComponentPublicInstance) => void; showContextMenuOnRightClick: (event: MouseEvent | KeyboardEvent, item: Resource, drop: import("vue").ComponentPublicInstance) => void; ghostElement: Readonly & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>>>; dragItem: Ref; dragSelection: import("vue").ComputedRef; dragStart: (resource: Resource, event: DragEvent) => Promise; fileDropped: (resource: Resource, event: DragEvent) => void; setDropStyling: (resource: Resource, leaving: boolean, event: DragEvent) => void; getResourceLink: (resource: Resource) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric; disabledResources: import("vue").ComputedRef; isResourceSelected: (item: Resource) => boolean; isResourceInDeleteQueue: (id: string) => boolean; isResourceDisabled: (resource: Resource) => boolean; isResourceClickable: (resource: Resource, areResourcesClickable: boolean) => boolean; isResourceCut: (resource: Resource) => boolean; fileContainerClicked: ({ resource, event }: { resource: Resource; event: MouseEvent | KeyboardEvent; }) => void; fileNameClicked: ({ resource, event }: { resource: Resource; event: MouseEvent | KeyboardEvent; }) => void; fileCheckboxClicked: ({ resource, event }: { resource: Resource; event: MouseEvent | KeyboardEvent; }) => void; };