import type { ServiceButtonAppearance, ServiceButtonType } from './mud-service-button.types'; /** * Service Button — interactive control for Moldovan M-products (mpay, mpass, * msign, mpower, mdelivery). * * A specialised filled button with a logo badge embedded on the inline-start * edge of the geometry. Fixed 48 px height (= minimum touch target) and * asymmetric padding (16 start / 20 end) per Figma spec. * * Slot `badge` reserves a 24×24 box for a `` rendering a * `*-logo-logomark-only` asset (or any other element rendered at that size). * The default slot carries the label text. * * @element mud-service-button * * @slot badge - The service logomark, sized 24×24. Typically ``. * @slot - (default) The label text (e.g. "Plătește cu mpay"). */ export declare class MudServiceButton { /** * Visual treatment. * - `primary` — solid brand background, white label * - `neutral` — light surface background, dark label * @default 'primary' */ appearance: ServiceButtonAppearance; /** * Native button `type` attribute. Ignored when `href` is set. * @default 'button' */ type: ServiceButtonType; /** * Disables interactivity. * @default false */ disabled: boolean; /** * Renders a centred spinner and blocks interactivity while preserving the * accessible name. Sets `aria-busy` on the internal control. * @default false */ loading: boolean; /** * Makes the button expand to fill the inline-size of its container. * @default false */ fullWidth: boolean; /** * If set, the button renders as `` and behaves as a link. * `type`, `name`, and `value` are ignored in this mode. */ href?: string; /** * `target` for the anchor when `href` is set. */ target?: string; /** * `rel` for the anchor when `href` is set. */ rel?: string; /** * Form-control `name`. Used when `type="submit"` and a value is submitted. */ name?: string; /** * Form-control `value` submitted alongside `name`. */ value?: string; /** * Accessible name override. When omitted, the visible default-slot text is * used as the accessible name (the standard pattern). */ label?: string; private fieldsetDisabled; host: HTMLMudServiceButtonElement; internals: ElementInternals; /** * Browser-invoked when an ancestor `
` toggles. Mirrors the * disabled state without clobbering the consumer-set `disabled` prop. */ formDisabledCallback(disabled: boolean): void; /** * Clears any submitter value left over from a prior click when the parent * form is reset. */ formResetCallback(): void; private isInert; private handleClick; render(): any; }