export interface AlertWindowButton { /**按钮文字,支持html文本 */ text: string; /**文字样式 */ textClass?: string; /**是否粗体 */ bold?: boolean; /**点击回调,如果返回true,表示不再按钮已经自己处理事件,不再往上触发 */ click?: () => boolean; } export interface AlertWindowOption { /**主显示框的样式 */ boxclass?: string; /**按钮样式 */ buttonclass?: string; /**标题文字的样式 */ titleclass?: string; /**内容的样式 */ contentclass?: string; /**按钮被按下时的附加样式 */ touchdownclass?: string; buttons?: AlertWindowButton[]; } export declare function registerAlertWindow(tagname: string, option: AlertWindowOption): void;