import type { ComponentInterface } from '../../stencil-public-runtime'; import type { Color } from '../../interface'; export declare class JackeryButton implements ComponentInterface { /** * 是否禁用按钮交互 */ disabled: boolean; /** * 加载状态 */ loading: boolean; /** * 按钮颜色 * 可选值: `"primary"`, `"success"`, `"danger"`, `"warning"`. */ color?: Color; /** * 按钮类型 */ type: 'submit' | 'reset' | 'button'; /** * 按钮尺寸 */ size?: 'sm' | 'md' | 'lg' | 'xl'; /** * 全宽显示 * true: block, false: inline-block */ full: boolean; /** * 按钮形状,默认round */ shape: 'round' | 'square'; /** * 超链接地址 * 如果设置了href属性,将渲染成a标签 */ href: string | undefined; /** * 按钮图标 */ icon: string | undefined; /** * 按钮图标位置(默认在前) */ iconpos: 'start' | 'end'; private handleClick; /** * 获取Loading图标颜色 */ getIconColor: () => string; /** * 获取Loading图标大小 */ getIconSize: () => "16px" | "22px" | "18px" | "14px"; /** * 渲染按钮图标 */ renderIcon: () => any; render(): any; }