import type Gtk from "gi://Gtk"; import type { GjsContext } from "../../../reconciler/gjs-renderer"; import type { HostContext } from "../../../reconciler/host-context"; import { BaseElement, type GjsElement } from "../../gjs-element"; import type { DiffedProps } from "../../utils/element-extenders/map-properties"; import { Bin } from "../../utils/widgets/bin"; import type { TextNode } from "../text-node"; import { PopoverMenuElement } from "./popover-menu"; export declare class PopoverMenuTargetElement extends BaseElement implements GjsElement<"POPOVER_MENU_TARGET", Gtk.Widget> { static getContext(currentContext: HostContext): HostContext; readonly kind = "POPOVER_MENU_TARGET"; protected emptyReplacement: Bin; protected childElement: GjsElement | null; protected get widget(): Gtk.Widget; get doesOwnElement(): boolean; protected parent: PopoverMenuElement | null; protected readonly lifecycle: null; protected readonly handlers: null; protected readonly propsMapper: null; constructor(props: DiffedProps); updateProps(props: DiffedProps): void; appendChild(child: GjsElement | TextNode): void; insertBefore(child: GjsElement | TextNode, beforeChild: GjsElement): void; remove(parent: GjsElement): void; render(): void; notifyWillMountTo(parent: GjsElement): boolean; notifyMounted(): void; notifyChildWillUnmount(child: GjsElement): void; show(): void; hide(): void; getWidget(): Gtk.Widget; getParentElement(): PopoverMenuElement | null; addEventListener(signal: string, callback: Rg.GjsElementEventListenerCallback): void; removeEventListener(signal: string, callback: Rg.GjsElementEventListenerCallback): void; setProperty(key: string, value: any): void; getProperty(key: string): void; }