import { Dictionary } from '@jscrpt/common';
import { RelationsNodeAdditionalData } from './relationsNodeData.interface';
import * as i0 from "@angular/core";
/**
 * Service handling additional data for relations node editor
 */
export declare class RelationsNodeData {
    /**
     * Additional data for components
     */
    protected data: Dictionary<RelationsNodeAdditionalData>;
    /**
     * Adds new additional data for node by its id
     * @param id - Id of node that will have new additional data
     * @param data - Data that should be stored
     */
    add(id: string, data: RelationsNodeAdditionalData): void;
    /**
     * Removes additional data for node by its id
     * @param id - Id of node that additional data should be removed
     */
    remove(id: string): void;
    /**
     * Gets additional data for node by its id
     * @param id - Id of node that additional data should be returned
     */
    get(id: string): RelationsNodeAdditionalData | null;
    static ɵfac: i0.ɵɵFactoryDeclaration<RelationsNodeData, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RelationsNodeData>;
}
//# sourceMappingURL=relationsNodeData.service.d.ts.map