import * as _angular_core from '@angular/core'; import { OnInit, OnChanges, SimpleChanges } from '@angular/core'; type NcPositionType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; declare class RibbonDirective implements OnInit, OnChanges { /** 丝带内容 */ ncContent: _angular_core.InputSignal; /** 内容颜色 */ ncContentColor: _angular_core.InputSignal; /** 大小,容器宽高较小值的百分比 */ ncSize: _angular_core.InputSignalWithTransform; /** 丝带颜色,需传入十六进制颜色值 */ ncRibbonColor: _angular_core.InputSignal; /** 丝带位置 */ ncPosition: _angular_core.InputSignal; private readonly destroyRef; private readonly document; private readonly el; private readonly renderer; private readonly uniqueId; private ribbonContainer; private ribbonSize; private resizeObserver; private mutationObserver; private checkSizeInterval; private retryTimer; private isInitialized; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private createRibbonContainer; private updateRibbonSize; private clearRibbonPosition; private updateRibbonStyles; private adjustColor; private getRotationDegree; private getTextRotation; private getRibbonShadow; private getShadowPosition; private observeParentSize; private removeStyleElement; private clearRetryTimer; private escapeCssContent; private cleanup; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class NcRibbonModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { NcRibbonModule, RibbonDirective }; export type { NcPositionType };