import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain'; import { AppLoader as GeneralAppLoader, EntityDict, OpRecord } from "oak-domain/lib/types"; import { DbStore } from "./DbStore"; import { AsyncContext } from "oak-domain/lib/store/AsyncRowStore"; import { IncomingHttpHeaders, IncomingMessage } from 'http'; import { Server as SocketIoServer } from 'socket.io'; export declare class AppLoader> extends GeneralAppLoader { private dbStore; private aspectDict; private externalDependencies; private dataSubscriber?; private contextBuilder; private requireSth; constructor(path: string, contextBuilder: (scene?: string) => (store: DbStore) => Promise, io?: SocketIoServer); initTriggers(): void; startWatchers(): void; mount(initialize?: true): Promise; unmount(): Promise; execAspect(name: string, contextString?: string, params?: any): Promise<{ opRecords: OpRecord[]; result: any; message?: string; }>; initialize(dropIfExists?: boolean): Promise; getStore(): DbStore; getEndpoints(): [string, "get" | "post" | "put" | "delete", string, (params: Record, headers: IncomingHttpHeaders, req: IncomingMessage, body?: any) => Promise][]; startTimers(): void; execStartRoutines(): Promise; execRoutine(routine: (context: Cxt) => Promise): Promise; }