import { OmniaContext } from "@omnia/fx"; import { Store, MultilingualStore } from "@omnia/fx/stores"; import { IMessageBusSubscriptionHandler } from "@omnia/fx-models"; import { QuickLink, LinkChanges } from "../models"; import { LocalizationService } from "@omnia/fx/services"; import { RecentLinksService, SharedLinksService, MyLinksService } from "../services"; export declare class LinkStore extends Store { recentLinksService: RecentLinksService; localizationService: LocalizationService; myLinksService: MyLinksService; sharedLinksService: SharedLinksService; omniaCtx: OmniaContext; MultilingualStore: MultilingualStore; /** * State */ private readonly tenantScope; private profileId; private subscriptionHandler; private loadSharedCategoriesPromise; private loadAllLinksPromise; private loadMyLinksPromise; private loadRecentLinksPromise; private loadSharedLinksPromises; private changes; private links; private allLinks; private myLinks; private recentLinks; private sharedLinks; private myLinksIdsMap; onActivated(): void; onDisposing(): void; /** Implementation of Getters */ getters: { onStoreUpdated: () => (fn: (obj: import("@omnia/fx-models").StateMutation) => void) => IMessageBusSubscriptionHandler; getAllLinks: (useTargeting?: boolean) => Array; searchAllLinks: (searchText: string, useTargeting?: boolean) => Array; getQuickLinks: (includePersonalLink?: boolean, useTargeting?: boolean, includeNonMandatory?: boolean, includeMandatory?: boolean, includeFollowingLinks?: boolean) => Array; getMyLinks: (includePersonalLink?: boolean, useTargeting?: boolean) => Array; getRecentLinks: () => Array; getSharedLinks: (tenantScope: boolean) => QuickLink[]; isMyLink: (link: QuickLink) => boolean; }; private filterQuickLinks; private addOrUpdateLinks; private addOrUpdateAllLinks; private addOrUpdateMyLinks; private addOrUpdateRecentLinks; private addOrUpdateSharedLinks; mutations: { clickLink: import("@omnia/fx/stores").StoreMutation<(link: QuickLink, e: Event, enabledExecuteDeepLink?: boolean) => void, (link: QuickLink, e: Event, enabledExecuteDeepLink?: boolean) => IMessageBusSubscriptionHandler>; ensureLink: import("@omnia/fx/stores").StoreMutation<(link: QuickLink) => void, (link: QuickLink) => IMessageBusSubscriptionHandler>; }; private internalMutations; actions: { ensureLoadSharedCategories: import("@omnia/fx/stores").StoreAction void, (result: string[]) => void, (failureReason: any) => void, () => Promise>; ensureLoadAllLinks: import("@omnia/fx/stores").StoreAction void, (result: null) => void, (failureReason: any) => void, () => Promise>; ensureLoadMyLink: import("@omnia/fx/stores").StoreAction void, (result: null) => void, (failureReason: any) => void, () => Promise>; ensureLoadRecentLink: import("@omnia/fx/stores").StoreAction void, (result: null) => void, (failureReason: any) => void, () => Promise>; addRecentLink: import("@omnia/fx/stores").StoreAction void, (result: null, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise>; addOrUpdateOwnerLink: import("@omnia/fx/stores").StoreAction void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise>; deleteMyLink: import("@omnia/fx/stores").StoreAction void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise>; addSharedLinkToMyLink: import("@omnia/fx/stores").StoreAction void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise>; ensureLoadSharedLink: import("@omnia/fx/stores").StoreAction void, (result: null, tenantScope: boolean) => void, (failureReason: any, tenantScope: boolean) => void, (tenantScope: boolean) => Promise>; addOrUpdateSharedLink: import("@omnia/fx/stores").StoreAction void, (result: any, link: QuickLink) => void, (failureReason: any, link: QuickLink) => void, (link: QuickLink) => Promise>; deleteSharedLink: import("@omnia/fx/stores").StoreAction void, (result: any, link: QuickLink, tenantScope: boolean) => void, (failureReason: any, link: QuickLink, tenantScope: boolean) => void, (link: QuickLink, tenantScope: boolean) => Promise>; }; private fixIcon; private fixUrl; private ensureMultilingual; private ensureData; private getSharedLinksPromiseKey; }