import React, { ComponentProps } from "react";
import { IWidget } from "matrix-widget-api";
import { MatrixClient, Room } from "matrix-js-sdk/src/matrix";
import IconizedContextMenu from "./IconizedContextMenu";
interface IProps extends Omit<ComponentProps<typeof IconizedContextMenu>, "children"> {
    app: IWidget;
    userWidget?: boolean;
    showUnpin?: boolean;
    onDeleteClick?(): void;
    onEditClick?(): void;
}
export declare const showContextMenu: (cli: MatrixClient, room: Room | undefined, app: IWidget, userWidget: boolean, showUnpin: boolean, onDeleteClick: (() => void) | undefined) => boolean;
export declare const WidgetContextMenu: React.FC<IProps>;
export {};
