import { ComponentInterface } from '../../stencil-public-runtime'; import { TargetProps } from '../../utils/propTypes'; /** * @slot - The button text * @slot `icon-left` - Optional left button icon * @slot `icon-right` - Optional right button icon */ export declare class BiButton implements ComponentInterface { private inheritedAttributes; el: HTMLBiButtonElement; /** * The type of button. * @default 'button' */ type?: 'reset' | 'submit' | 'button'; /** The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form. */ name?: string; /** Defines the value associated with the button's name when it's submitted with the form data. */ value?: string; /** * The button variant. * @default 'filled' */ variant?: 'filled' | 'outlined' | 'text' | 'flat'; /** * The button size. * @default 'medium' */ size?: 'small' | 'medium' | 'large'; /** * Is the component displayed on a dark background. * @default false */ dark: boolean; /** * Display as icon-button, only use when showing an icon as the label. * Not compatible with the icon-slots or `stretch`. * Always provide a descriptive aria-label for accessibility when set to true. * @default false */ icon: boolean; /** * Decides if the button is disabled. * @default false */ disabled: boolean; stretch?: boolean; /** * Used for displaying a loading animation, indicating its state. * Overrides the "icon-left" slot when used * @default false */ submitting?: boolean; /** * Make the button active by showing the focus-visible state. * @default false */ active: boolean; /** * Contains a URL or a URL fragment that the hyperlink points to. * If this property is set, a link styled as a button will be rendered. */ href: string | undefined; /** * Specifies where to display the linked URL. * Only applies when an `href` is provided. * Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. */ target: TargetProps; /** The id of a form element the button should be associated with. */ form?: string; private internals; onClick(e: MouseEvent): void; onValueChange(newValue: string): void; componentWillLoad(): void; componentDidLoad(): void; render(): any; }