import { createTestingPinia } from '@pinia/testing'; import { AncestorMetaData, AppConfigObject, ApplicationFileExtension, ApplicationInformation, ClipboardActions, Message, Modal, OptionsConfig, Updates, WebThemeType } from '@opencloud-eu/web-pkg'; import { CollaboratorShare, LinkShare, Resource, ShareRole, SpaceResource } from '@opencloud-eu/web-client'; import { Group, User } from '@opencloud-eu/web-client/graph/generated'; import { Capabilities } from '@opencloud-eu/web-client/ocs'; export { createTestingPinia }; export type PiniaMockOptions = { stubActions?: boolean; appsState?: { apps?: Record; externalAppConfig?: AppConfigObject; fileExtensions?: ApplicationFileExtension[]; }; authState?: { accessToken?: string; idpContextReady?: boolean; userContextReady?: boolean; publicLinkContextReady?: boolean; }; themeState?: { availableThemes?: WebThemeType[]; currentTheme?: WebThemeType; }; clipboardState?: { action?: ClipboardActions; resources?: Resource[]; }; configState?: { server?: string; options?: OptionsConfig; }; messagesState?: { messages?: Message[]; }; modalsState?: { modals?: Modal[]; }; spaceSettingsStore?: { spaces?: SpaceResource[]; selectedSpaces?: SpaceResource[]; }; groupSettingsStore?: { groups?: Group[]; selectedGroups?: Group[]; }; userSettingsStore?: { users?: User[]; selectedUsers?: User[]; }; resourcesStore?: { resources?: Resource[]; currentFolder?: Resource; ancestorMetaData?: AncestorMetaData; selectedIds?: string[]; areFileExtensionsShown?: boolean; areHiddenFilesShown?: boolean; areDisabledSpacesShown?: boolean; deleteQueue?: string[]; }; avatarsStore?: { userAvatar?: string; avatarMap?: Record; }; sideBarStore?: { sideBarActivePanel?: string | null; }; sharesState?: { collaboratorShares?: CollaboratorShare[]; linkShares?: LinkShare[]; graphRoles?: Record; loading?: boolean; }; spacesState?: { spaces?: SpaceResource[]; spacesInitialized?: boolean; imagesLoading?: string[]; readmesLoading?: string[]; }; userState?: { user?: User; }; capabilityState?: { capabilities?: Partial; isInitialized?: boolean; }; updatesState?: { isLoading?: boolean; hasError?: boolean; updates?: Updates; }; }; export declare function createMockStore({ stubActions, appsState, authState, clipboardState, configState, themeState, messagesState, modalsState, resourcesStore, avatarsStore, userSettingsStore, groupSettingsStore, spaceSettingsStore, sideBarStore, sharesState, spacesState, userState, capabilityState, updatesState }?: PiniaMockOptions): import("@pinia/testing").TestingPinia;