import { type CoreIcon } from '@pollux-docaposte/core-design-system'; import { type EventEmitter } from '../../stencil-public-runtime'; export declare class CobaltButton { /** * This is the text which appear inside the button. It is required. */ label: string; /** * A string indicating the behavior of the button. It relies on `HTMLButtonElement['type']` */ type?: HTMLButtonElement['type']; /** * A string indicating the design variation of the button based on the level of importance. */ variant?: 'primary' | 'secondary' | 'tertiary'; /** * A boolean indicating the disable state of the button. The `aria-disabled` attribute relies on this property. */ disabled?: boolean; /** * A string indicating the size variation of the button. */ size?: 'small' | 'medium' | 'large'; /** * Accept all icon names from @pollux-docaposte/icon-library. By using the cobalt-button component you don't have to install it as dependency. * * The icon render only if `iconName` and `iconPosition` are defined. */ iconName?: CoreIcon['name']; /** * It allows to render the chosen icon on the left or on the right. * * The icon render only if `iconName` and `iconPosition` are defined. */ iconPosition?: 'left' | 'right'; /** * Click event on the button */ cobaltButtonClick: EventEmitter; /** * Handle the click event on the button. */ private readonly handleClick; render(): any; }