/** * adds the requirement for a getter and setter function for the token value. * This is necessary because tokens are very simple objects, but shouldn't * only be strings because access and modification should be controlled. * Furthermore, a value can be different on the client than on the server, * or whatever resource on the network it is getting it from. * e.g. when the client creates a value that the server hasn't (got/created/accepted/received) * That's why there's a separation between the network value and the local client value */ export interface ILDToken { getNetworkVal(): string; setNetworkVal(val: string): any; getClientTokenVal(): string; setClientTokenVal(val: string): any; get(): string; } export declare function createConcatNetworkPreferredToken(inputLDTokenString: string, targetIntrprtrLnk: string): NetworkPreferredToken; export declare function linearLDTokenStr(ldTokenStr: string, id: number): string; export declare function refMapBaseTokenStr(ldTokenStr: string): string; export declare class NetworkPreferredToken implements ILDToken { private nwVal; private clientVal; constructor(initialVal: string); getNetworkVal(): string; setNetworkVal(val: string): void; getClientTokenVal(): string; setClientTokenVal(val: string): void; get(): string; }