import { Actionable as IActionable } from "../response.js"; import { ListenerName } from "../names.js"; import { Component } from "../../components/component.js"; export { IActionable }; export declare class ActionableBaseImpl extends Component { /** * The listener to be called when the actionable is pressed. */ onPressed(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * The listener to be called when the actionable is double pressed. */ onDoublePressed(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * The listener to be called when the actionable is long pressed. */ onLongPressed(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * The listener to be called when the actionable is pressed inside and released outside of the actionable, causing it to cancel the press action. */ onPressedCancel(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * The listener to be called when the actionable is hovered and when the mouse exits the hoverable area. */ onHovered(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Whether the actionable can submit a form. */ submit(submit: IActionable['submit']): this; }