import { CSSResultArray, PropertyValues, TemplateResult } from 'lit'; import { LuzmoButtonBase } from './../button/button-base'; export declare const longPressDuration = 300; export type LongpressEvent = { source: 'pointer' | 'keyboard'; }; declare const LuzmoActionButton_base: typeof LuzmoButtonBase & { new (...args: any[]): import("../..").SizedElementInterface; prototype: import("../..").SizedElementInterface; }; /** * @element luzmo-action-button * * @slot - text label of the Action Button * @slot icon - The icon to use for Action Button * @fires change - Announces a change in the `selected` property of an action button * @fires longpress - Synthesizes a "longpress" interaction that signifies a * `pointerdown` event that is >=300ms or a keyboard event where code is `Space` or code is `ArrowDown` * while `altKey===true`. */ export declare class LuzmoActionButton extends LuzmoActionButton_base { static get styles(): CSSResultArray; /** * Affects the display of a **selected** Action Button */ emphasized: boolean; /** * Whether the Action Button should display a hold affordance */ holdAffordance: boolean; /** * Whether the Action Button should show in a quiet state */ quiet: boolean; /** * The role for the Action Button */ role: string; /** * Whether an Action Button with `role='button'` * should also be `aria-pressed='true'` */ selected: boolean; /** * Whether to automatically manage the `selected` * attribute on interaction and whether `aria-pressed="false"` * should be used when `selected === false` */ toggles: boolean; /** * The static color variant to use for the action button. */ staticColor?: 'white' | 'black'; /** * The value of the Action Button */ get value(): string; set value(value: string); private _value; /** * @private */ get itemText(): string; constructor(); private onClick; private handlePointerdownHoldAffordance; private handlePointerupHoldAffordance; /** * @private */ protected handleKeydown(event: KeyboardEvent): void; protected handleKeyup(event: KeyboardEvent): void; protected get buttonContent(): TemplateResult[]; protected updated(changes: PropertyValues): void; } declare global { interface GlobalEventHandlersEventMap { longpress: CustomEvent; } } export {};