import * as i0 from '@angular/core'; import { OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XType, XNumber, XBoolean } from '@ng-nest/ui/core'; /** * Ripple * @selector x-ripple * @decorator directive */ declare const XRipplePrefix = "x-ripple"; declare const XRippleProperty_base: new () => { config: _ng_nest_ui_core.XRippleConfig | undefined; }; /** * Ripple Property */ declare class XRippleProperty extends XRippleProperty_base { /** * @zh_CN 类型 * @en_US Types of */ readonly type: i0.InputSignal; /** * @zh_CN 执行时间 * @en_US The execution time */ readonly duration: i0.InputSignalWithTransform; /** * @zh_CN 禁用 * @en_US Disable */ readonly disabled: i0.InputSignalWithTransform; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * @zh_CN 波纹类型 * @en_US Ripple type */ type XRippleType = XType; declare class XRippleDirective extends XRippleProperty implements OnDestroy { get className(): string; private unsub; private renderer; private elementRef; private cdr; private document; downEvent: Subscription | null; upEvent: Subscription | null; constructor(); ngOnDestroy(): void; setEvent(): void; distanceToFurthestCorner(x: number, y: number, rect: DOMRect): number; enforceStyleRecalculation(element: HTMLElement): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class XRippleModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { XRippleDirective, XRippleModule, XRipplePrefix, XRippleProperty }; export type { XRippleType };