import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/shared'; import * as i3 from 'ngx-tethys/icon'; type ThyVoteSize = 'default' | 'sm'; /** @deprecated use ThyVoteSize, will be remove in v23 */ type ThyVoteSizes = ThyVoteSize; type ThyVoteColor = 'primary' | 'success'; type ThyVoteAppearance = 'fill' | 'subtle'; /** @deprecated use ThyVoteColor and ThyVoteAppearance, will be remove in v23 */ type ThyVoteType = 'primary' | 'success' | 'primary-weak' | 'success-weak'; type ThyVoteLayout = 'vertical' | 'horizontal'; type ThyVoteShape = 'rectangle' | 'ellipse'; /** * 投票组件 * @name thy-vote,[thyVote] * @order 10 */ declare class ThyVote { private hostRenderer; /** * 大小,thyLayout="vertical" 时,支持: sm | default * @type sm | default * @default default */ readonly thySize: _angular_core.InputSignalWithTransform; /** * 颜色,用于 [thyVote] 指令写法 * @type primary | success * @default primary */ readonly thyVote: _angular_core.InputSignal<"primary" | "success" | "primary-weak" | "success-weak" | undefined>; /** * 颜色,用于组件 thy-vote 写法,优先级高于 thyVote * @type primary | success * @default primary */ readonly thyColor: _angular_core.InputSignal; /** * 外观 * @type fill | subtle * @default fill */ readonly thyAppearance: _angular_core.InputSignal; /** * 形状 * @type rectangle | ellipse * @default rectangle */ readonly thyShape: _angular_core.InputSignal; /** * 是否是偏圆型(已废弃,将在 v23 彻底移除),请使用 thyShape * @deprecated please use thyShape, will be remove in v23 */ readonly thyRound: _angular_core.InputSignalWithTransform; /** * 布局: horizontal | vertical */ readonly thyLayout: _angular_core.InputSignalWithTransform; /** * 赞同的数量 */ readonly thyCount: _angular_core.InputSignal; /** * 赞同的数量(已废弃,将在 v23 彻底移除),请使用 thyCount * @deprecated please use thyCount, will be remove in v23 */ readonly thyVoteCount: _angular_core.InputSignal; /** * 图标 */ readonly thyIcon: _angular_core.InputSignalWithTransform; /** * 是否赞同 */ readonly thyVoted: _angular_core.InputSignalWithTransform; /** * 是否赞同(已废弃,将在 v23 彻底移除),请使用 thyVoted * @deprecated please use thyVoted, will be remove in v23 */ readonly thyHasVoted: _angular_core.InputSignalWithTransform; /** * 是否禁用 */ readonly thyDisabled: _angular_core.InputSignalWithTransform; /** * 自定义Icon模板 */ readonly voteIcon: _angular_core.Signal | undefined>; readonly count: _angular_core.Signal; readonly voted: _angular_core.Signal; readonly shape: _angular_core.Signal; private readonly resolved; constructor(); private setClassesByType; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyVoteModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyVote, ThyVoteModule }; export type { ThyVoteAppearance, ThyVoteColor, ThyVoteLayout, ThyVoteShape, ThyVoteSize, ThyVoteSizes, ThyVoteType };