import { StandardMouseEvent } from "../../../base/browser/mouseEvent.js";
import { IAnchor } from "../../../base/browser/ui/contextview/contextview.js";
import { IAction } from "../../../base/common/actions.js";
import { IActionListItem, IActionListDelegate } from "./actionList.js";
export declare const IActionWidgetService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IActionWidgetService>;
export interface IActionWidgetService {
    readonly _serviceBrand: undefined;
    show<T>(user: string, supportsPreview: boolean, items: readonly IActionListItem<T>[], delegate: IActionListDelegate<T>, anchor: HTMLElement | StandardMouseEvent | IAnchor, container: HTMLElement | undefined, actionBarActions?: readonly IAction[]): void;
    hide(didCancel?: boolean): void;
    readonly isVisible: boolean;
}
