/** * These are to support legacy exports (see notes below). */ import { BaseService as baseService } from "./services/baseService"; import { _BaseClient } from "./deprecated/baseClient"; import UserNotification from "./common/toast"; import * as Util from "./common/util"; import DependencyManager from "./common/dependencyManager"; import { System } from "./common/system"; /** * Imports */ import { FEAGlobals } from "./common/Globals"; import { FSBLDesktop } from "./clients/Startup/FSBLDesktop"; import { FEA } from "./FEA"; import { FinsembleWindow } from "./common/FinsembleWindow"; import { DesktopAgent } from "./typedefs/FDC3/index"; export * as services from "./services"; export * as clients from "./clients"; export * as types from "./types"; /** * @internal Don't display FEA in Typedoc output */ export * as FEA from "./FEA"; export * as common from "./common"; export * as deprecated from "./deprecated"; export * as constants from "./common/constants"; export * from "./clients"; export * from "./common"; export * from "./types"; /** * Declare global variables that are injected either by preloads or by the FSBL library itself. */ declare global { /** * FSBL is declared as "let" because we sometimes set FSBL.debug to true. * This is type FSBLDesktop though in freestanding apps and services this isn't accurate. * Use of ambient types should be avoided in those use cases. FSBL is added through * the finsemble-desktop-api-preload (FSBL.js) that is preloaded by Launcher. */ let FSBL: typeof FEAGlobals.FSBL; /** * The fin object is injected by FEA. Sometimes it's referred to as e2o. */ const fin: typeof FEAGlobals.fin; /** * finsembleWindow is created on the fly by the FSBL client API initialization code. */ const finsembleWindow: typeof FEAGlobals.finsembleWindow; /** * fdc3 is created on the fly by FSBLDesktop. */ const fdc3: typeof FEAGlobals.fdc3; } /** * Wait, didn't we just declare these? Yes, as globals: * * Example * ``` * FSBL.Clients.RouterClient... * ``` * * but they don't exist on the `window` object. These following definitions are necessary to make this work: * * Example * ``` * window.FSBL.Clients.RouterClient... * ``` */ declare global { interface Window { /** * FSBL is declared as "let" because we sometimes set FSBL.debug to true. * This is type FSBLDesktop though in freestanding apps and services this isn't accurate. * Use of ambient types should be avoided in those use cases. FSBL is added through * the finsemble-desktop-api-preload (FSBL.js) that is preloaded by Launcher. */ FSBL: FSBLDesktop; /** * The fin object is injected by FEA. Sometimes it's referred to as e2o. */ fin: FEA; /** * finsembleWindow is created on the fly by the FSBL client API initialization code. */ finsembleWindow: FinsembleWindow; /** * fdc3 is created on the fly by FSBLDesktop. */ fdc3: DesktopAgent; } } /** * Legacy ambient types * * These are types that are used in the client APIs and which previously * exported as root level ambient types. Customers that wrote typescript * code may have been using these types. */ export { WindowIdentifier, WindowDescriptor, WindowLocator, SpawnParams, ShowWindowParams, } from "./services/window/types"; export { WindowBounds } from "./services/window/types"; export { WorkspaceEventName } from "./services/workspace/types"; export { WindowEventName, WrapState } from "./services/window/types"; /** * Following are legacy exports that have been used by customers primarily to build custom * services and storage adapters. These will be deprecated over time as we roll out simplified * mechanisms for services and adapters. */ /** * Used for build storage adapters */ export declare const models: { baseStorage: (this: import("./services/storage/adapters/types").IBaseStorage, args: string) => void; }; /** * @ignore Don't display these in Typedoc output */ export { FinsembleWindow, baseService, UserNotification, DependencyManager, System, Util }; export declare const Clients: { RouterClient: { onReady: (cb?: (() => void) | undefined) => Promise; addListener: (channel: string, eventHandler: import("./clients/routerClient").ListenerCallback) => import("./clients/routerClient").RouterListenerUnsubscribe; transmit: (toChannel: string, data: T_1, options?: { suppressWarnings: boolean; } | undefined) => void; removeListener: (channel: string, eventHandler: Function) => void; addResponder: (channel: string, queryEventHandler: import("./types").StandardErrorCallback>) => void; query: (responderChannel: string, queryEvent: Q_1, queryParams?: { timeout?: number | undefined; logWhenNoResponder?: boolean | undefined; } | import("./clients/routerClient").QueryResponseCallback | undefined, responseEventHandler?: import("./clients/routerClient").QueryResponseCallback | undefined) => Promise>; removeResponder: (responderChannel: string) => void; addPubSubResponder: (topic: string | RegExp, initialState?: object | undefined, params?: { subscribeCallback?: import("./clients/routerClient").SubscribeCallback | undefined; unsubscribeCallback?: import("./clients/routerClient").UnsubscribeCallback | undefined; publishCallback?: import("./clients/routerClient").PublishCallback | undefined; } | undefined, callback?: ((err?: string | Error | undefined, result?: "success" | undefined) => void) | undefined) => void; removePubSubResponder: (topic: string | RegExp) => void; subscribe: (topic: string, notifyCallback: (err: import("./types").StandardError, response: import("./clients/routerClient").SubscriberResponse) => void) => { subscribeID: string; topic: string; }; publish: (topic: string, event: T_4) => void; unsubscribe: (subscribeIDStruct: { subscribeID: string; topic: string; }) => void; trustedMessage: (incomingMessage: import("./clients/routerClient").RouterMessage) => boolean; disconnectAll: () => void; calibrateTimeWithRouterService: (callback: (offset: number) => void) => void; }; StorageClient: { initialize: () => void; onReady: (cb?: any) => void; clearCache: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; remove: (params: { key: string; topic: string; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getMultiple: (params: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; keys: (params: { topic: string; keyPrefix?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getStandardized: (params: { key: string; topic: string; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; get: (params: { key: string; topic: string; }, cb?: import("./types").StandardErrorCallback | undefined) => Promise; save: (params: import("./services/window/WindowAbstractions/BaseWindow").ComponentMutateParams, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setStore: (params: { topic: string; /** * FSBL is declared as "let" because we sometimes set FSBL.debug to true. * This is type FSBLDesktop though in freestanding apps and services this isn't accurate. * Use of ambient types should be avoided in those use cases. FSBL is added through * the finsemble-desktop-api-preload (FSBL.js) that is preloaded by Launcher. */ dataStore?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setUser: (params: { user: string; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; delete: (...args: any[]) => void; remove1: (params: { key: string; topic: string; }) => void; get1: (params: { key: string; topic: string; }, cb?: import("./types").StandardErrorCallback | undefined) => Promise; save1: (params: { key: string; topic: string; value: any; }) => void; keys1: (params: { topic: string; keyPrefix?: string | undefined; }) => Promise; }; LauncherClient: { initialize: () => void; onReady: (cb?: any) => void; addToGroups: (params: { windowIdentifier?: import("./services/window/types").WindowIdentifier | undefined; groupNames?: string[] | undefined; }, cb: (err?: import("./types").StandardError) => void) => Promise<{ err: import("./types").StandardError; }>; getGroupsForWindow: (params: { windowIdentifier: import("./services/window/types").WindowIdentifier; } | null, cb?: Function) => Promise; removeWindowsFromGroup: (params: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; }, cb?: Function) => Promise; addWindowsToGroup: (params: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; }, cb?: Function) => Promise; createWindowGroup: (params: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; }, cb?: Function) => Promise; minimizeWindows: (params: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; componentType?: string | undefined; }, cb?: Function | undefined) => Promise; hyperFocus: (params: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; componentType?: string | undefined; }, cb?: (() => void) | undefined) => Promise; bringWindowsToFront: (params?: { windowList?: string[] | import("./services/window/types").WindowIdentifier[] | undefined; groupName?: string | undefined; componentType?: string | undefined; }, cb?: Function) => Promise; getComponentsThatCanReceiveDataTypes: (params: { dataTypes: string[]; }, cb?: Function) => Promise; removeUserDefinedComponent: (params: { name: string; url?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; addUserDefinedComponent: (params: { name: string; url: string; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getPendingWindows: () => import("./types").StandardPromise; getActiveAndPendingWindowNames: (cb?: Function) => Promise<{ err: any; data: any; }>; getActiveDescriptors: (cb?: import("./types").StandardErrorCallback> | undefined) => import("./types").StandardPromise>; getMyWindowIdentifier: (cb?: ((windowIdentifier: import("./services/window/types").WindowIdentifier) => void) | undefined) => Promise; getMonitor: (windowIdentifier: import("./services/window/types").WindowIdentifier, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; spawn: (component: string, params: import("./services/window/types").SpawnParams, cb?: import("./types").StandardErrorCallback | undefined) => Promise<{ error?: import("./types").StandardError; response?: import("./clients/launcherClient").SpawnResponse | undefined; }>; toggleWindowOnClick: (element: HTMLElement, windowLocator: import("./services/window/types").WindowLocator, params: any) => void; showWindow: (windowLocator: import("./services/window/types").WindowLocator, params: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; unRegisterComponent: (params: { componentType: string; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; registerComponent: (params: { componentType: string; manifest: import("./clients/launcherClient").ComponentDescriptor; }, cb: import("./types").StandardErrorCallback) => import("./types").StandardPromise; getMonitorInfo: (params?: { monitor?: import("./common/Monitors").MonitorCommand | undefined; windowIdentifier?: import("./services/window/types").WindowIdentifier | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getMonitorInfoAll: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getComponentDefaultConfig: (componentType: string, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getComponentList: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; }; DistributedStoreClient: { initialize: () => void; onReady: (cb?: any) => void; createStore: (params: { store: string; global?: boolean | undefined; persist?: boolean | undefined; values?: any; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getStore: (params: { store: string; global?: boolean | undefined; waitForPersistentStoreToLoad?: boolean | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; createGlobalStore: (params: { store: string; persist?: boolean | undefined; values?: any; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; removeStore: (params: { store: string; global?: boolean | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; }; LinkerClient: import("./deprecated/linkerClient").LinkerClient; WindowClient: { options: import("./FEA").WindowOptions; title: string | null; windowGroups: { windowNames: string[]; isMovable: boolean; isAlwaysOnTop: boolean; topRightWindow: string; isARectangle: boolean; }[]; commandChannel: ((arg0: any, arg1: any) => void) | undefined; fitToDOM: (params?: { padding?: { height: number; width: number; } | undefined; maxHeight?: number | undefined; maxWidth?: number | undefined; } | null | undefined, cb?: (() => void) | undefined) => Promise; getBounds: (cb: import("./types").StandardErrorCallback) => import("./types").StandardPromise; getWindowGroups: () => { windowNames: string[]; isMovable: boolean; isAlwaysOnTop: boolean; topRightWindow: string; isARectangle: boolean; }[]; initialize: Function; onReady: Function; showAtMousePosition: () => void; getMonitorInfo: (params?: { monitor?: import("./common/Monitors").MonitorCommand | undefined; windowIdentifier?: import("./services/window/types").WindowIdentifier | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getStackedWindow: (params?: import("./types").StandardCallback | { create?: boolean | undefined; windowIdentifiers?: import("./services/window/types").WindowIdentifier[] | undefined; } | undefined, cb?: import("./types").StandardCallback | undefined) => void; cancelTilingOrTabbing: (params: { windowIdentifier?: import("./services/window/types").WindowIdentifier | undefined; }, cb?: (() => void) | undefined) => void; startTilingOrTabbing: (params: { windowIdentifier: import("./services/window/types").WindowIdentifier; }, cb?: (() => void) | undefined) => void; stopTilingOrTabbing: (params: { mousePosition?: { x: number; y: number; } | undefined; action?: string | undefined; allowDropOnSelf?: boolean | undefined; }, cb?: (() => void) | undefined) => void; sendIdentifierForTilingOrTabbing: (params: { windowIdentifier: import("./services/window/types").WindowIdentifier; }, cb?: (() => void) | undefined) => void; stopMovingWindow: () => void; startMovingWindow: (event: MouseEvent) => void; setShape: (params?: ({ x: Number; y: Number; width: Number; height: Number; } | null)[] | undefined, callback?: Function) => void; setActive: (active: boolean) => void; getWindowIdentifier: () => import("./services/window/types").WindowIdentifier; isMouseOverDOMElement: (element: Element, cb?: ((result: boolean) => void) | undefined) => Promise; isPointInBox: (point: { x: number; y: number; }, box: { top: number; left: number; bottom?: number | undefined; right?: number | undefined; width: number; height: number; }) => boolean; getDesktopBoundingBox: (element: string | Element) => Promise<{ top: number; left: number; width: number; height: number; right: number; bottom: number; }>; getCurrentWindow: () => import("./FEA").FEAWindow; getSpawnData: () => any; setWindowTitle: (title: string) => void; ejectFromGroup: () => void; headerCommandChannel: (commandChannel: (arg0: any, arg1: any) => void) => void; addListeners: () => void; formGroup: () => void; getWindowNameForDocking: () => any; removeComponentState: (params: { field?: string | undefined; fields?: { field: string; }[] | undefined; windowName?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setComponentState: (params: { field?: string | undefined; fields?: { field: string; value: T_8; }[] | undefined; value?: T_8 | undefined; windowName?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getComponentState: (params: { field?: string | undefined; fields?: string[] | undefined; windowName?: string | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; injectDOM: (headerHeight: number) => void; setTaskbarIconOverlay: (url: string | null) => void; restore: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setAlwaysOnTop: (alwaysOnTop: boolean, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; bringWindowToFront: (cb?: import("./types").StandardErrorCallback | undefined) => void; bringToFront: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; minimize: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; maximize: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; saveWindowBounds: (bounds: import("./services/window/types").WindowBounds, setActiveWorkspaceDirty: boolean) => void; getWindowBounds: () => import("./services/window/types").Bounds; cacheInitialBounds: () => Promise; retrieveMonitorDimensions: (cb: (monitorInfo: import("./FEA").MonitorCoordinates) => void) => Promise; getWindowTitle: () => string | null; close: (params: { removeFromWorkspace: boolean; closeWindow: boolean; ignoreParent?: boolean | undefined; userInitiated?: boolean | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setWindowTitlePrivate: (title: string) => void; }; WorkspaceClient: { saveWorkspaceTemplateToConfigFile: (params: any) => void; addWorkspaceDefinition: (params: any, cb: any) => Promise>; getWorkspaceDefinition: (params: any, cb: any) => Promise; createNewWorkspace: (workspaceName: any, params: any, cb: any) => Promise<{ workspaceName: string; }>; setWorkspaces: (params: any, cb: any) => Promise; initialize: () => void; onReady: (cb?: any) => void; removeWindow: (params: any, cb: any) => void; addWindow: (params: any, cb: any) => void; readonly workspaces: string[]; readonly activeWorkspace: import("./services/workspace/types").Workspace | undefined; export: (params: { workspaceName: string; }, cb: Function) => Promise; import: (params: { workspaceJSONDefinition: Record; force: boolean; }, cb?: Function | undefined) => Promise>; exportToFile: (params: { workspaceTemplateDefinition: any; }) => void; createWorkspace: (workspaceName: string, params?: { switchAfterCreation?: boolean | undefined; } | undefined, cb?: (err: any, result: { workspaceName: string; }) => void) => Promise<{ workspaceName: string; }>; isWorkspaceDirty: (cb?: Function | undefined) => Promise; _getWindowState: (params: { windowName: string; stateVars: import("./services/workspace/windowStorageManager").StateType[]; }) => Promise>>; _setWindowState: (params: any) => Promise>; switchTo: (params: { name: string; }, cb?: import("./types").StandardErrorCallback<{ data: import("./services/workspace/types").Workspace; }> | undefined) => Promise<{ data: import("./services/workspace/types").Workspace; }>; saveAs: (params: { name: string; force?: boolean | undefined; }, cb?: Function | undefined) => Promise; workspaceExists: (workspaceName: any) => void; save: (cb?: Function | undefined) => Promise; rename: (params: { oldName: string; newName: string; removeOldWorkspace?: boolean | undefined; overwriteExisting?: boolean | undefined; }, cb?: Function | undefined) => Promise; remove: (params: { workspace?: { name: string; } | undefined; name?: string | undefined; }, cb?: Function | undefined) => Promise; setWorkspaceOrder: (params: any, cb?: Function | undefined) => Promise; getWorkspaceNames: (cb?: import("./types").StandardErrorCallback | undefined) => Promise; getWorkspaceActions: (cb?: import("./types").StandardErrorCallback> | undefined) => Record; getWorkspaces: (cb?: Function | undefined) => Promise; getActiveWorkspace: (cb?: import("./types").StandardErrorCallback<{ data: import("./services/workspace/types").Workspace; }> | undefined) => Promise<{ data: import("./services/workspace/types").Workspace; }>; bringWindowsToFront: (params?: { monitor: string; windowIdentifier?: any; } | undefined, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; minimizeAll: (params?: { monitor: string; windowIdentifier?: any; } | undefined, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; autoArrange: (params: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; addEventListener: (event: import("./services/workspace/types").WorkspaceEventName, handler: import("./clients/workspaceClient").FinsembleEventHandler) => void; removeEventListener: (event: import("./services/workspace/types").WorkspaceEventName, handler: import("./clients/workspaceClient").FinsembleEventHandler) => void; }; DialogManager: { userInputTimeout: number | null; readonly openerMessage: import("./clients/routerClient").ResponderMessage | null; initialize: () => void; onReady: (cb?: any) => void; createStore: (cb?: (() => void) | undefined) => Promise; getAvailableDialog: (type: string, cb?: ((dialog: import("./services/window/types").WindowIdentifier | null) => void) | undefined) => Promise; sendQueryToDialog: (identifier: import("./services/window/types").WindowIdentifier, options: any, onUserInput: import("./types").StandardErrorCallback) => Promise; open: (type: string, options: any, onUserInput: import("./types").StandardErrorCallback) => Promise; spawnDialog: (params: import("./services/window/types").SpawnParams, inputParams: any, dialogResponseCallback: import("./types").StandardErrorCallback, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; registerDialogCallback: (cb?: import("./types").StandardErrorCallback> | undefined) => Promise; getParametersFromInDialog: () => Promise; respondAndExitFromInDialog: (responseParameters: any) => Promise; showDialog: () => Promise; registerModal: () => Promise; showModal: (cb?: ((error?: string | undefined) => void) | undefined) => Promise; hideModal: () => Promise; respondToOpener: (data?: any) => Promise; }; AuthenticationClient: { initialize: () => void; onReady: (cb?: any) => void; beginAuthentication: (params: { profile?: string | undefined; spawnParams?: import("./services/window/types").SpawnParams | undefined; }, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; completeOAUTH: (err?: string | undefined, params?: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; transmitSignOnToAuthService: (signOnData: { username?: string | undefined; password?: string | undefined; signOnKey: string; error?: string | undefined; }) => void; getCurrentCredentials: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; publishAuthorization: (user: string, credentials: any) => void; appRejectAndRetrySignOn: (signOnKey: string, params: { userMsg?: string | undefined; }, cb: import("./types").StandardCallback) => void; appRejectSignOn: (signOnKey: any) => void; appAcceptSignOn: (signOnKey: any) => void; appSignOn: (signOnKey: any, params: { icon: string; prompt: string; force: boolean; userMsg?: string | undefined; }, cb?: import("./types").StandardCallback | undefined) => Promise<{ err?: import("./types").StandardError; data?: any; }>; }; ConfigClient: { initialize(): void; onReady: (cb?: any) => void; triggerListeners(listenerKey: string, data: any): void; handleChanges(err: import("./types").StandardError, response: { data: { store: string; storeData: any; field: string | null; value: any; }; }): void; changeSub(change: string): Promise; addListener: (params: { field: string | null; }, fn: import("./clients/StoreModel").ListenerFunction, cb?: (() => void) | undefined) => Promise; addListeners: (params: string[] | import("./clients/configClient").ListenerParam[], fn: import("./clients/StoreModel").ListenerFunction, cb?: (() => void) | undefined) => Promise | undefined; getManifest: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getPreferences: (cb?: import("./types").StandardErrorCallback | null> | undefined) => import("./types").StandardPromise | null>; getValue: (params: string | import("./clients/configClient").FieldOnlyParam, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; getValues: (fields?: string[] | import("./clients/configClient").FieldOnlyParam[] | null | undefined, cb?: import("./types").StandardErrorCallback> | undefined) => import("./types").StandardPromise>; processAndSet: (params: { newConfig: Record; overwrite: boolean; replace: boolean; }, cb?: import("./types").StandardErrorCallback> | undefined) => import("./types").StandardPromise; removeListener: (params: { field: string | null; }, fn: import("./clients/StoreModel").ListenerFunction, cb?: Function | undefined) => void; removeListeners: (params: import("./clients/configClient").RemoveListenersType, fn?: import("./clients/StoreModel").ListenerFunction | undefined, cb?: import("./types").StandardErrorCallback | undefined) => void; removeValue: (field: String, cb?: import("./types").StandardErrorCallback | undefined) => Promise<{ err: string | null | undefined; }>; removeValues: (params: import("./clients/configClient").FieldAndValueParams, cb?: import("./types").StandardErrorCallback | undefined) => Promise<{ err: import("./types").StandardError; }>; setPreference: (params: import("./clients/configClient").FieldAndValueParam, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; setValue: (params: import("./clients/configClient").FieldAndValueParam, cb?: import("./types").StandardErrorCallback | undefined) => Promise<{ err: string | null | undefined; }>; setValues: (fields: import("./clients/configClient").FieldAndValueParams, cb?: import("./types").StandardErrorCallback | undefined) => Promise<{ err: string | null | undefined; }>; unsetPreference: (params: import("./clients/configClient").FieldOnlyParam, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; }; DragAndDropClient: import("./deprecated/dragAndDropClient").DragAndDropClient; Logger: { error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; log: (...args: any[]) => void; debug: (...args: any[]) => void; verbose: (...args: any[]) => void; deprecated: (...args: any[]) => void; start: (routerClient?: { onReady: (cb?: (() => void) | undefined) => Promise; addListener: (channel: string, eventHandler: import("./clients/routerClient").ListenerCallback) => import("./clients/routerClient").RouterListenerUnsubscribe; transmit: (toChannel: string, data: T_1, options?: { suppressWarnings: boolean; } | undefined) => void; removeListener: (channel: string, eventHandler: Function) => void; addResponder: (channel: string, queryEventHandler: import("./types").StandardErrorCallback>) => void; query: (responderChannel: string, queryEvent: Q_1, queryParams?: { timeout?: number | undefined; logWhenNoResponder?: boolean | undefined; } | import("./clients/routerClient").QueryResponseCallback | undefined, responseEventHandler?: import("./clients/routerClient").QueryResponseCallback | undefined) => Promise>; removeResponder: (responderChannel: string) => void; addPubSubResponder: (topic: string | RegExp, initialState?: object | undefined, params?: { subscribeCallback?: import("./clients/routerClient").SubscribeCallback | undefined; unsubscribeCallback?: import("./clients/routerClient").UnsubscribeCallback | undefined; publishCallback?: import("./clients/routerClient").PublishCallback | undefined; } | undefined, callback?: ((err?: string | Error | undefined, result?: "success" | undefined) => void) | undefined) => void; removePubSubResponder: (topic: string | RegExp) => void; subscribe: (topic: string, notifyCallback: (err: import("./types").StandardError, response: import("./clients/routerClient").SubscriberResponse) => void) => { subscribeID: string; topic: string; }; publish: (topic: string, event: T_4) => void; unsubscribe: (subscribeIDStruct: { subscribeID: string; topic: string; }) => void; trustedMessage: (incomingMessage: import("./clients/routerClient").RouterMessage) => boolean; disconnectAll: () => void; calibrateTimeWithRouterService: (callback: (offset: number) => void) => void; } | undefined) => void; channelFilter: (channel: string) => boolean; setting: () => import("./services/logger/types").CentralLoggerClientState; callStack: () => string; unregisterClient: (params?: { clientName: string; deleteFromPersistence?: boolean | undefined; viewId?: number | undefined; } | undefined, cb?: ((err: import("./types").StandardError, data?: any) => void) | undefined) => void; setRouterClient: (routerClient: { onReady: (cb?: (() => void) | undefined) => Promise; addListener: (channel: string, eventHandler: import("./clients/routerClient").ListenerCallback) => import("./clients/routerClient").RouterListenerUnsubscribe; transmit: (toChannel: string, data: T_1, options?: { suppressWarnings: boolean; } | undefined) => void; removeListener: (channel: string, eventHandler: Function) => void; addResponder: (channel: string, queryEventHandler: import("./types").StandardErrorCallback>) => void; query: (responderChannel: string, queryEvent: Q_1, queryParams?: { timeout?: number | undefined; logWhenNoResponder?: boolean | undefined; } | import("./clients/routerClient").QueryResponseCallback | undefined, responseEventHandler?: import("./clients/routerClient").QueryResponseCallback | undefined) => Promise>; removeResponder: (responderChannel: string) => void; addPubSubResponder: (topic: string | RegExp, initialState?: object | undefined, params?: { subscribeCallback?: import("./clients/routerClient").SubscribeCallback | undefined; unsubscribeCallback?: import("./clients/routerClient").UnsubscribeCallback | undefined; publishCallback?: import("./clients/routerClient").PublishCallback | undefined; } | undefined, callback?: ((err?: string | Error | undefined, result?: "success" | undefined) => void) | undefined) => void; removePubSubResponder: (topic: string | RegExp) => void; subscribe: (topic: string, notifyCallback: (err: import("./types").StandardError, response: import("./clients/routerClient").SubscriberResponse) => void) => { subscribeID: string; topic: string; }; publish: (topic: string, event: T_4) => void; unsubscribe: (subscribeIDStruct: { subscribeID: string; topic: string; }) => void; trustedMessage: (incomingMessage: import("./clients/routerClient").RouterMessage) => boolean; disconnectAll: () => void; calibrateTimeWithRouterService: (callback: (offset: number) => void) => void; }) => void; onStateChanged(cb: (newState: import("./services/logger/types").CentralLoggerClientState) => void): void; system: { error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; log: (...args: any[]) => void; debug: (...args: any[]) => void; verbose: (...args: any[]) => void; deprecated: (...args: any[]) => void; }; perf: { error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; log: (...args: any[]) => void; debug: (...args: any[]) => void; verbose: (...args: any[]) => void; deprecated: (...args: any[]) => void; }; console: { error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; log: (...args: any[]) => void; debug: (...args: any[]) => void; verbose: (...args: any[]) => void; deprecated: (...args: any[]) => void; }; }; /** @deprecated */ baseClient: typeof _BaseClient; SearchClient: { initialize: () => void; onReady: (cb?: any) => void; invokeProviderAction: (provider: { channel: string; }) => void; invokeItemAction: (item: any, action: { name: string; }) => void; search: (params: { text: string; windowName?: string | undefined; }, cb: Function) => Promise; unregister: (params: { name: string; }, cb?: Function | undefined) => Promise; register: (params: { name: string; searchCallback: Function; itemActionCallback?: Function | undefined; providerActionCallback?: Function | undefined; providerActionTitle?: string | null | undefined; }, cb?: import("./types").StandardErrorCallback<{ status: string; }> | undefined) => import("./types").StandardPromise<{ status: string; }>; }; HotkeyClient: { initialize: () => void; onReady: (cb?: any) => void; onClose: (cb?: (() => void) | undefined) => void; addGlobalHotkey: (keyArr: string[], handler: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; removeAllHotkeys: (cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; removeGlobalHotkey: (keyArr: string[], handler: any, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; addLocalHotkey: (keyArr: string[], handler: (...args: any[]) => void, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; removeLocalHotkey: (keyArr: string[], handler: (...args: any[]) => void, cb?: import("./types").StandardErrorCallback | undefined) => import("./types").StandardPromise; addBrowserHotkey: (keyArr: string[], handler: () => void, addedByUser?: boolean | undefined) => void; }; NotificationClient: { initialize: () => void; onReady: (cb?: any) => void; fetchHistory: (options?: string | import("./services/notification/types").INotificationHistoryOptions | undefined, filter?: import("./services/notification/types").IFilter | undefined) => Promise; getLastIssuedAt: (source?: string | undefined) => Promise; performAction: (notifications: Partial[], action: import("./services/notification/types").IAction) => Promise; markRead: (notifications: import("./services/notification/types").INotification[]) => Promise; markUnread: (notifications: import("./services/notification/types").INotification[]) => Promise; deleteNotifications: (notifications: import("./services/notification/types").INotification[]) => Promise; notify: (notifications: Partial | Partial[]) => Promise; subscribe: (subscription: Partial, onNotification: import("./services/notification/types").OnNotificationCallback) => Promise<{ id: string; channel: string; }>; unsubscribe: (subscriptionId: string) => Promise; unsubscribeAll: () => void; mute: (filter: import("./services/notification/types").IMuteFilter | import("./services/notification/types").IMuteFilter[]) => Promise; unmute: (filter: import("./services/notification/types").IMuteFilter | import("./services/notification/types").IMuteFilter[]) => Promise; getPreferences: () => Promise; getMuteFilters: () => Promise; getSources: () => Promise; onClose: (cb?: (() => void) | undefined) => void; Notification: typeof import("./clients/notificationClient").Notification; ActionTypes: typeof import("./clients/notificationClient").ActionTypes; Subscription: typeof import("./clients/notificationClient").Subscription; Action: typeof import("./clients/notificationClient").Action; Filter: typeof import("./clients/notificationClient").Filter; actionTypes: typeof import("./clients/notificationClient").ActionTypes; }; }; //# sourceMappingURL=main.d.ts.map