import { OnInit, ElementRef, AfterViewInit, EventEmitter } from '@angular/core';
import { ColorRGB } from '@obliczeniowo/elementary/classes';
import * as i0 from "@angular/core";
export interface ColorTranslations {
    red: string;
    green: string;
    blue: string;
    alpha: string;
}
export declare class ColorComponent implements OnInit, AfterViewInit {
    private readonly elementRef;
    colorsCanvas: HTMLCanvasElement;
    colorBlue: HTMLCanvasElement;
    colorAlpha: HTMLCanvasElement;
    colorsCtx: CanvasRenderingContext2D;
    colorBlueCtx: CanvasRenderingContext2D;
    colorAlphaCtx: CanvasRenderingContext2D;
    colorsBitmap: ImageData;
    chosenColor: ColorRGB;
    inputBorder: import("@angular/core").InputSignal<"outlined" | "underlined" | "none">;
    changed: EventEmitter<ColorRGB>;
    transparentImage: HTMLImageElement;
    pointer: HTMLDivElement;
    translations: ColorTranslations;
    constructor(elementRef: ElementRef<HTMLElement>);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    valueChanged(event: any, value: string, emit?: boolean): void;
    redrawAll(): void;
    redrawColorsMap(): void;
    redrawBlueGradientMap(): void;
    refreshAlphaGradient(): void;
    colorsMapClicked(event: any): void;
    blueMapClicked(event: any): void;
    alphaMapClicked(event: any): void;
    input(event: any, field: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ColorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ColorComponent, "obl-color", never, { "chosenColor": { "alias": "chosenColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], false, never>;
}
