import { LitElement } from '../../../../../node_modules/lit'; import { SbSubmitButtonProps as Props, SubmitButtonContent, SubmitButtonIconAlign, SubmitButtonPart, SubmitButtonSize, SubmitButtonVariant } from './button.types'; /** * Button that submits an auth widget form, forwarding an `event` identifier for * the authentication service. * * @part submit-button - rtg-button: root * @part submit-button-icon - svg/rtg-spinner: icon or loading indicator * * @event sb-submit-button:click - Fired when the button is clicked. * Detail: `{ id: string; event?: string }` */ export declare class SbSubmitButton extends LitElement implements Props { static readonly ROOT = "submit-button"; static readonly ICON = "icon"; static readonly TAG: string; static readonly CLICK_EVENT: string; static readonly PARTS: Record; /** * Substring used in generated part IDs. */ seed: string; /** * Custom ID used as the root part ID and as the base of subpart IDs. */ customId?: string; /** * Visual variant of the button component. */ variant: SubmitButtonVariant; /** * Size of the button component. */ size: SubmitButtonSize; /** * Controls what the button renders: icon only, label only, or both. */ content: SubmitButtonContent; /** * Side the icon appears on relative to the label. */ iconAlign: SubmitButtonIconAlign; /** * Text used as the label of the button component. */ private _label; get label(): string; set label(value: string); /** * Event identifier forwarded to the authentication service on click. * When omitted, only the custom click event is dispatched. */ event?: string; /** * Disables the button, preventing interaction. */ disabled?: boolean; /** * Applies a loading state, disabling the button and displaying a spinner. */ loading?: boolean; protected createRenderRoot(): this; get rootId(): string; get iconId(): string; get isDisabled(): boolean | undefined; connectedCallback(): void; disconnectedCallback(): void; private _handleClick; private _renderIcon; render(): import('../../../../../node_modules/lit-html').TemplateResult<1>; }