import * as _angular_core from '@angular/core'; import { ButtonSeverity, ButtonProps } from 'primeng/button'; import { MTIcon } from '@masterteam/icons'; declare class Button { readonly iconText: _angular_core.InputSignal; readonly label: _angular_core.InputSignal; readonly tooltip: _angular_core.InputSignal; readonly class: _angular_core.InputSignal; readonly type: _angular_core.InputSignal; readonly styleClass: _angular_core.InputSignal; readonly severity: _angular_core.InputSignal; readonly badge: _angular_core.InputSignal; readonly variant: _angular_core.InputSignal<"text" | "outlined" | undefined>; readonly badgeSeverity: _angular_core.InputSignal<"success" | "info" | "warn" | "danger" | "help" | "primary" | "secondary" | "contrast">; readonly size: _angular_core.InputSignal<"small" | "large" | undefined>; readonly iconPos: _angular_core.InputSignal<"top" | "bottom" | "end" | undefined>; readonly autofocus: _angular_core.InputSignalWithTransform; readonly fluid: _angular_core.InputSignalWithTransform; readonly raised: _angular_core.InputSignalWithTransform; readonly rounded: _angular_core.InputSignalWithTransform; readonly text: _angular_core.InputSignalWithTransform; readonly plain: _angular_core.InputSignalWithTransform; readonly outlined: _angular_core.InputSignalWithTransform; readonly link: _angular_core.InputSignalWithTransform; readonly disabled: _angular_core.InputSignalWithTransform; readonly loading: _angular_core.InputSignalWithTransform; readonly pInputs: _angular_core.InputSignal | undefined>; /** * Accessible name. Only needed for an icon-only button — one with a `label` * already has a name from its text. */ readonly ariaLabel: _angular_core.InputSignal; /** * What assistive technology announces. * * An icon-only button carries no text, so without this a screen reader reads * it as just "button". 8 of 13 icon-only buttons in the live app were * unnamed, and the Control Panel rail was entirely unnamed — a user had to * click each icon to discover what it did (finding H-05). * * Falls back through `ariaLabel` → `label` → `tooltip`, because a button with * a tooltip already has the words; they were simply not reaching the * accessibility tree. Null for a labelled button so we never duplicate the * visible text as an aria-label, which makes some screen readers announce it * twice. */ readonly accessibleName: _angular_core.Signal; /** * Sighted users need the same affordance: with no label and no tooltip, the * only way to learn what an icon does is to press it and watch. So an * `ariaLabel` given without a tooltip becomes the tooltip too. */ readonly resolvedTooltip: _angular_core.Signal; onClick: _angular_core.OutputEmitterRef; onFocus: _angular_core.OutputEmitterRef; onBlur: _angular_core.OutputEmitterRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { Button };