import { IStateClient } from './types'; export declare class State { private readonly name; private doLoad; private readonly clients; private readonly clientsOnHold; constructor(name: string, doLoad?: boolean | PromiseLike); getName(): string; getClientByName(name: string): IStateClient; /** * adds a new client to this state. * @param client * @returns {bi.core.srv.state.State} */ register(client: IStateClient): State; unregister(name: string): State; private _export; exportAsJSON(providerName?: string, ...clientList: string[]): string; exportAsURL(providerName?: string, ...clientList: string[]): string; private _import; importFromJSON(stringData: string, ...clientList: string[]): void; importFromURL(stringData: string, ...clientList: string[]): void; }