import { ElementRef, OnChanges } from '@angular/core';
import { EventsService } from '../services/events.service';
import { TextBackground } from '../styles/style.model';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TextBackgroundDirectiveDirective implements OnChanges {
    private el;
    private eventService;
    textBackgroundDirective?: TextBackground;
    constructor(el: ElementRef, eventService: EventsService);
    ngOnChanges(): void;
    ngOnDestroy(): void;
    getrgbFormColor(hexCode: any): any;
    checkColorIsRgbFormOrNot(color: string): boolean;
    textBackgroundSubscription?: Subscription;
    textBackgroundChangeCheck(): void;
    changeTextBackground(id: any, textBackground: TextBackground): void;
    getContrastColorFromRGBA(rgbaString: string): string | null;
    extractRGBA(rgbaString: string): number[] | null;
    getContrastColor(rgba: number[]): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextBackgroundDirectiveDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<TextBackgroundDirectiveDirective, "[simpoTextBackgroundDirective]", never, { "textBackgroundDirective": { "alias": "simpoTextBackgroundDirective"; "required": false; }; }, {}, never, never, true, never>;
}
