import type { WidgetState } from "./WidgetState";
/** Hook that returns information about the Widget in the current context.
 * @returns object that contains the WidgetLocation, WidgetState, and
 * the ability to set the state of the widget.
 * @alpha
 */
export declare function useWidget(): {
    /** State of the Widget */
    state: WidgetState;
    /** Where the widget is located ("docked" | "popout" | "floating"). */
    widgetLocation: "floating" | "docked" | "popout";
    /** Set widget to different state
     * @param WidgetState that you want to set the widget to.
     */
    setState: (widgetState: Omit<WidgetState, WidgetState.Floating>) => void;
};
//# sourceMappingURL=useWidget.d.ts.map