import { ElementRef } from "@angular/core";
import { ILine } from '@foblex/2d';
import { IHasConnectionFromTo } from '../i-has-connection-from-to';
import { IHasConnectionColor } from '../i-has-connection-color';
import { IConnectionGradient } from './i-connection-gradient';
import * as i0 from "@angular/core";
export declare class FConnectionGradientComponent implements IConnectionGradient {
    private elementReference;
    private base;
    get gradientId(): string;
    get hostElement(): SVGLinearGradientElement;
    get stop1Element(): SVGStopElement;
    get stop2Element(): SVGStopElement;
    constructor(elementReference: ElementRef<SVGLinearGradientElement>, base: IHasConnectionColor & IHasConnectionFromTo);
    initialize(): void;
    private updateGradient;
    private setFromColor;
    private setToColor;
    redraw(line: ILine): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>;
}
