import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; type NzButtonType = 'primary' | 'default' | 'dashed' | 'link' | 'text'; type NzButtonShape = 'circle' | 'round'; type NzButtonSize = 'large' | 'default' | 'small'; export declare class RdButtonComponent { /** 按钮类型:primary, default, danger, yellow, link, text */ type: 'primary' | 'default' | 'danger' | 'yellow' | 'gray' | 'link' | 'text'; /** 按钮大小:large, default, small */ size: 'large' | 'default' | 'small'; /** 按钮形状:default, circle, round */ shape: 'default' | 'circle' | 'round'; /** 是否禁用 */ disabled: boolean; /** 是否加载中 */ loading: boolean; /** 是否块级元素,宽度充满父容器 */ block: boolean; /** 原生 button 类型:button, submit, reset */ htmlType: 'button' | 'submit' | 'reset'; /** 是否显示为幽灵按钮(背景透明) */ ghost: boolean; /** 是否显示为虚线按钮 */ dashed: boolean; /** 图标类名(使用项目图标库) */ icon?: string; /** 危险按钮(type=danger 时自动为 true) */ danger: boolean; /** 点击事件 */ click: EventEmitter; minWidth: number; /** Local color context. Omit to inherit body `.theme-light` / `.theme-dark`. */ theme?: 'light' | 'dark'; get hostThemeLight(): boolean; get hostThemeDark(): boolean; /** 获取 ng-zorro 的 nzType,兼容现有代码 */ get nzType(): NzButtonType; /** 获取 ng-zorro 的 nzShape */ get nzShape(): NzButtonShape | any; /** 获取 ng-zorro 的 nzSize */ get nzSize(): NzButtonSize | any; /** 处理点击事件 */ onClick(event: MouseEvent): void; /** 获取按钮 CSS 类 */ get buttonClasses(): { [key: string]: boolean; }; /** 检查是否有内容(除了图标) */ get hasContent(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};