/** * This file serves as a temporary holding area for deprecated functions. * Once a deprecated function is removed from the public API then it can * be either deleted from this file or moved to a permanent location. */ import { IRouterClient } from "../clients/routerClient"; import { FinsembleWindow } from "../common/FinsembleWindow"; /** * Gets all active or pending window names. Active windows have completed spawning. Pending windows have been spawned but haven't yet completed. * * @param {StandardCallback} cb Callback returns an array of window names (as does the resolved Promise). * @private */ export declare const deprecatedGetActiveAndPendingWindowNames: (routerClient: IRouterClient, cb?: Function) => Promise<{ err: any; data: any; }>; /** * Highlights the window as active by creating a border around the window. * * @param {boolean} active Set to false to turn off activity * @private */ export declare const deprecatedSetActive: (active: boolean) => void; /** * Gets the window name of current window or the parent, if tabbed. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement. */ export declare const deprecatedGetWindowNameForDocking: (finsembleWindow: FinsembleWindow) => any; /** Daniel H. 1/14/2019 * This method is only used in the DragAndDrop client, and it introduces a sneaky circular dependency between * this module and the launcherClient. It should be refactored out of this module. This can't be done until v4.0.0, as * it would be a breaking change to our API. */ /** * This will either open a component with the shared data or publish the shared data using the linker client if the window is linked. * * @param {object} params * @param {object} [params.data] * @param {boolean} [params.publishOnly] if the component is linked, this will only publish the data, not force open a window if it does not exist. If the component is not linked, this is ignored. * @param {function} [params.multipleOpenerHandler] Optional. This function is called with on object that contains a map of componentTypes to the data types they can open. It must return a list of components to be opened. If no handler is provided, the first found component will be chosen. It is possible that the component opened may not handle all the data provided. * @param {function} cb callback invoked with action taken. * */ export declare function openSharedData(params: any, cb: any): void; //# sourceMappingURL=deprecatedFunctions.d.ts.map