import { ActionBehavior } from '../actionbehavior'; import { Observable } from '../observable'; /** * Displays a pop-up text alert on screen. * * @zbehavior * @zicon sms * @zgroup Actions */ export declare class ShowTextAlert extends ActionBehavior { /** * The text to show in the alert * @zprop * @zgroup ShowTextAlert * @zgrouppriority 20 */ text: Observable; /** * The time (in milliseconds) that the text alert should remain on screen * * @zprop * @zgroup Appearance * @zgrouppriority 10 * @zdefault 3000 * @ztype time-milliseconds */ timeout: Observable; /** * The color of the background of the text alert * * @zprop * @zgroup Appearance * @zgrouppriority 10 * @zdefault black * @ztype color-hex */ backgroundColor: Observable; /** * The color of the text of the text alert * * @zprop * @zgroup Appearance * @zgrouppriority 10 * @zdefault #ffffff * @ztype color-hex */ textColor: Observable; /** * Additional CSS class names to add to the alert DOM element * * @zprop * @zgroup Appearance * @zgrouppriority 10 * @zdefault [] */ classNames: Observable; /** * How long the alert will apear on the screen * * @zprop */ perform(): void; /** @zui */ preview(): void; }