import { EObject } from '../metamodel/eobject';
export declare class SerializedReference {
    fromId: string;
    toId: string;
    refName: string;
    constructor(from: string, to: string, ref: string);
    static create(fromDId: string, toDId: string, fromRef: string): SerializedReference;
    /**
     * Swizzles the object to JSON.
     */
    serialize(): any;
    /**
     * Restores the swizzled reference.
     *
     * @param allObjs
     * @returns true if the reference was successfully resolved, false if target object not found
     */
    deserialize(allObjs: Map<String, EObject>): boolean;
}
//# sourceMappingURL=serialized-reference.d.ts.map