import type Gtk from "gi://Gtk?version=3.0"; import type { GjsContext } from "../../../../reconciler/gjs-renderer"; import type { HostContext } from "../../../../reconciler/host-context"; import { BaseElement, type GjsElement } from "../../../gjs-element"; import { ElementLifecycleController } from "../../../utils/element-extenders/element-lifecycle-controller"; import type { DiffedProps } from "../../../utils/element-extenders/map-properties"; import { PropertyMapper } from "../../../utils/element-extenders/map-properties"; import { MarkupAttributes } from "../../../utils/markup-attributes"; import type { MarkupElementProps } from "../../markup/markup-elem"; import type { TextNode } from "../../text-node"; import type { TextViewElement } from "../text-view"; import type { ITextViewElement, TextViewElementContainer, TextViewNode } from "../text-view-elem-interface"; export interface TextViewLinkProps extends MarkupElementProps { href?: string; } type TextViewLinkElementMixin = GjsElement<"TEXT_VIEW_LINK"> & ITextViewElement; export declare class TextViewLinkElement extends BaseElement implements TextViewLinkElementMixin { static getContext(currentContext: HostContext): HostContext; readonly kind = "TEXT_VIEW_LINK"; protected parent: TextViewElementContainer | null; protected children: Array; protected attributes: MarkupAttributes; readonly lifecycle: ElementLifecycleController; protected handlers: null; protected readonly propsMapper: PropertyMapper; protected linkHref: string; protected isVisible: boolean; constructor(props: DiffedProps, context: HostContext, beforeFirstUpdate?: (self: any) => void); updateProps(props: DiffedProps): void; appendChild(child: GjsElement | TextNode): void; insertBefore(child: GjsElement | TextNode, beforeChild: GjsElement | TextNode): void; remove(parent: GjsElement): void; render(): void; notifyWillMountTo(parent: GjsElement): boolean; notifyMountedTo(parent: GjsElement): void; notifyChildWillUnmount(child: GjsElement): void; show(): void; hide(): void; getWidget(): Gtk.Widget; getParentElement(): TextViewElementContainer | null; addEventListener(signal: string, callback: Rg.GjsElementEventListenerCallback): void; removeEventListener(signal: string, callback: Rg.GjsElementEventListenerCallback): void; getTextView(): TextViewElement | undefined; toNode(): TextViewNode; } export {};