import { ClickEventProps, ClickEventState, GlobalProps, GlobalState, IconProps, ShowIconProps, SizeProps, TextProps, WidthProps } from '../../shared/model'; export declare const ButtonVariantList: readonly ["outlined", "brand", "filled", "ghost"]; export type ButtonVariantType = (typeof ButtonVariantList)[number]; export declare const ButtonTypeList: readonly ["button", "reset", "submit"]; export type ButtonTypeType = (typeof ButtonTypeList)[number]; export declare const ButtonStateList: readonly ["loading"]; export type ButtonStateType = (typeof ButtonStateList)[number]; export type DBButtonDefaultProps = { /** * If the button controls a grouping of other elements, the ariaexpanded state [indicates whether the controlled grouping is currently expanded or collapsed](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded). */ ariaexpanded?: boolean; /** * Defines the button as a toggle button. The value of [ariapressed describes the state of the button](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed). */ ariapressed?: boolean; /** * The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled). */ disabled?: boolean; /** * Define the text next to the icon specified via the icon Property to get hidden. */ noText?: boolean; /** * The label represents the [aria-label attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) value of the button */ label?: string; /** * The name attribute specifies a [name attributes value](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#name) for the button. */ name?: string; /** * The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type). */ type?: ButtonTypeType; /** * The value attribute specifies an initial [value for the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value). */ value?: string; /** * Show loading progress inside button. */ state?: ButtonStateType; /** * Variant of the button. Use only 1 primary button on a page as CTA otherwise use one of the adaptive buttons. */ variant?: ButtonVariantType | string; }; export type DBButtonProps = DBButtonDefaultProps & GlobalProps & ClickEventProps & IconProps & WidthProps & SizeProps & ShowIconProps & TextProps; export type DBButtonDefaultState = {}; export type DBButtonState = DBButtonDefaultState & GlobalState & ClickEventState;