import { InternalSession } from "./session"; import { EntityMapping } from "./mapping/entityMapping"; import { ResultCallback } from "./core/callback"; export declare class Reference { mapping: EntityMapping; private _id; id: string; constructor(mapping: EntityMapping, _id: any); fetch(session: InternalSession, callback: ResultCallback): void; equals(other: any): boolean; static areEqual(value1: any, value2: any): boolean; static isReference(obj: any): boolean; static fetch(session: InternalSession, obj: any, callback: ResultCallback): void; }