import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtime'; export declare type PredefinedColors = 'primary' | 'accent' | 'success' | 'warning' | 'danger' | 'info'; export declare type Color = PredefinedColors | string; export declare class KButton implements ComponentInterface { el: HTMLElement; /** * If `true`, the user cannot interact with the button. */ disabled: boolean; /** * Set to `"block"` for a full-width button or to `"full"` for a full-width button * without left and right borders. */ expand?: 'block'; /** * The type of the button. */ type: 'submit' | 'reset' | 'button'; /** * Contains a URL or a URL fragment that the hyperlink points to. * If this property is set, an anchor tag will be rendered. */ href: string | undefined; /** * The color to use from your application's color palette. * Default options are: `"primary"`, `"secondary"`, `"success"`, `"warning"`, `"danger"`. */ color?: Color; /** * Specifies where to display the linked URL. * Only applies when an `href` is provided. * Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. */ target: string | undefined; /** * Specifies the relationship of the target object to the link object. * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). */ rel: string | undefined; /** * Emitted when the button has focus. */ kFocus: EventEmitter; /** * Emitted when the button loses focus. */ kBlur: EventEmitter; private onFocus; private onBlur; private handleClick; private get hasIconOnly(); render(): any; }