import { EntityDict } from '../general-app-domain'; import { RuntimeContext } from './RuntimeContext'; import { Application } from '../features/application'; import { Token } from '../features/token'; import { AspectDict as GeneralAspectDict } from '../aspects/AspectDict'; import { CommonAspectDict } from 'oak-common-aspect'; import { SyncContext, SyncRowStore } from 'oak-domain/lib/store/SyncRowStore'; import { BackendRuntimeContext } from './BackendRuntimeContext'; declare type AspectDict> = GeneralAspectDict & CommonAspectDict; export declare type SerializedData = { a?: string; t?: string; }; export declare class FrontendRuntimeContext, AD extends AspectDict> extends SyncContext implements RuntimeContext { private application?; private token?; constructor(store: SyncRowStore>, application?: Application, AD>, token?: Token, AD>); getApplicationId(): string | undefined; getSystemId(): string | undefined; getApplication(): Partial | undefined; getTokenValue(): string | undefined; getToken(allowUnloggedIn?: boolean): Partial | undefined; getCurrentUserId(allowUnloggedIn?: boolean): string | undefined; toString(): string; isRoot(): boolean; } export {};