import type * as OpenFin from '../../../../OpenFin'; import { Transport } from '../../../../transport/transport'; /** * Api client allowing an empty electron BrowserView to be rendered * in the current window with the specified bounds. * * Please note, only one view based overlay can be rendered at a time per runtime. * @ignore */ export declare class ViewOverlay { private wire; constructor(wire: Transport); /** * Sets the style of the root element of the view overlay webcontent. * @param style A partial collection of Css style declarations to set. */ setStyle: (style: Partial) => Promise; /** * Renders the overlay at the specified position relative to the calling window. * @param options Bounds and background color to display in the overlay. */ renderOverlay: (bounds: OpenFin.Bounds) => Promise; /** * Removes the overlay from the current window. */ detachOverlay: () => Promise; /** * Allows setting all OpenFin views to ignore or consume mouse events. * * This can help with the rendering of view overlays that depend on OpenFin views not consuming mouse events. * * @param enabled If true, all mouse events are ignored by openfin views. If false, all OpenFin views will consume mouse events. */ setIgnoreViewMouseEvents(enabled: boolean): Promise; }