import { EventEmitter } from "../../stencil-public-runtime"; import { IcButtonTypes, IcButtonVariants } from "./ic-button.types"; import { IcSizes, IcBrand, IcThemeMode, IcButtonTooltipPlacement } from "../../utils/types"; /** * @slot left-icon - Content will be placed to the left of the button label. * @slot right-icon - Content will be placed to the right of the button label. * @slot top-icon - Content will be placed above the button label. * @slot badge - Badge component overlaying the top right of the button. * @slot router-item - Handle routing by nesting your routes in this slot. Setting loading to true will have no impact on this slot. */ export declare class Button { private buttonEl?; private buttonIdNum; private hasTooltip; private id; private inheritedAttributes; private describedbyEl; private describedById?; private mutationObserver; private hostMutationObserver; private routerSlot; el: HTMLIcButtonElement; ariaLabel: string; describedbyNode: Node | null; watchDescribedbyNodeHandler(): void; title: string; /** * If `fileUpload` is set to `true`, this is the accepted list of file types. */ accept: string; /** * @internal Used to identify any related child component */ ariaControlsId?: string | boolean; /** * @internal Used to identify any related child component */ ariaOwnsId?: string | boolean; /** * If `true`, the button will be in disabled state. */ disabled: boolean; watchDisabledHandler(): void; /** * If `true`, the ic-tooltip which is shown for icon variant will be disabled. Title or aria-label must be set if this prop is not applied. */ disableTooltip: boolean; /** * If `true`, the user can save the linked URL instead of navigating to it. */ download: string | boolean; /** * If `true`, the button will show a dropdown icon. */ dropdown: boolean; /** * If `true`, the aria-expanded value will be set to true. This is only applied if the dropdown prop is also true. */ dropdownExpanded: boolean; /** * If `true`, when the button is clicked the native file explorer will be launched. */ fileUpload: boolean; /** * The name of the control for the file input, which is submitted with the form data. */ fileInputName: string; /** * The