import { IDOMElementMetrics } from "../api/common";
import { IOpenFlyoutAction, ICloseFlyoutAction, IOpenComponentInFlyoutAction, ICloseComponentInFlyoutAction, IOpenContextMenuAction, ICloseContextMenuAction } from "./defs";
/**
 * Opens the context menu at the specific position
 *
 * @param position The client x/y position
 * @since 0.13
 */
export declare function openContextMenu(position: {
    x: number;
    y: number;
}): IOpenContextMenuAction;
/**
 * Closes the context menu
 *
 * @since 0.13
 */
export declare function closeContextMenu(): ICloseContextMenuAction;
/**
 * Opens the specified flyout menu
 *
 * @export
 * @param {string} id
 * @param {IDOMElementMetrics} metrics
 * @returns {IOpenFlyoutAction}
 */
export declare function openFlyout(id: string, metrics: IDOMElementMetrics): IOpenFlyoutAction;
/**
 * Closes the specified flyout menu
 *
 * @export
 * @param {string} id
 * @returns {ICloseFlyoutAction}
 */
export declare function closeFlyout(id: string): ICloseFlyoutAction;
/**
 * Load the specified component in the given flyout with the given component props
 *
 * @export
 * @param {string} id
 * @param {IDOMElementMetrics} metrics
 * @param {string} name
 * @param {*} props
 * @returns {IOpenComponentInFlyoutAction}
 */
export declare function openComponent(id: string, metrics: IDOMElementMetrics, name: string, props: any): IOpenComponentInFlyoutAction;
/**
 * Closes the component in the given flyout
 *
 * @export
 * @param {string} id
 * @returns {ICloseComponentInFlyoutAction}
 */
export declare function closeComponent(id: string): ICloseComponentInFlyoutAction;
