import 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 type { TextNode } from "../text-node"; import { PopoverElement } from "./popover"; export declare class PopoverContentElement extends BaseElement implements GjsElement<"POPOVER_CONTENT", Gtk.Widget> { static getContext(currentContext: HostContext): HostContext; readonly kind = "POPOVER_CONTENT"; protected emptyReplacement: Gtk.Box; protected childElement: GjsElement | null; protected get widget(): Gtk.Widget; protected parent: PopoverElement | 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(newChild: 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(): PopoverElement | 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; }