import { CustomSignalClass, Signal } from "typescene-async"; import Style from "../../Style"; import Animation from "../../Animation"; import { Container, Menu } from "../"; import ControlElement from "./ControlElement"; import { ComponentFactory, ValueOrAsync } from "../ComponentFactory"; import TextLabelFactory from "../TextLabelFactory"; import { ActionHandler, MouseHandler, MouseEventSignal } from "../DOMEvents"; /** Represents a button control */ export declare class Button extends ControlElement { /** Signal that is emitted when a button is clicked, with the (non-empty) content of the button's `target` property, e.g. a URL string or Activity (class) from the `typescene-app` module; default connection only navigates to URLs but the Application constructor connects a new handler that calls `startActivity` */ static ActivateTarget: CustomSignalClass>; /** Create a button control element */ constructor(label?: string | TextLabelFactory, icon?: string); /** Initialize a button control factory with given values */ static with: (values: Button.Initializer) => ComponentFactory