import { ZomeViewModel } from "./ZomeViewModel"; import { ReactiveElement } from "lit"; import { ViewModel } from "./ViewModel"; import { AdminWebsocket, InstalledAppId, ZomeName } from "@holochain/client"; import { DnaModifiersOptions, ZvmDef } from "./definitions"; import { Context } from "@lit/context"; import { CellProxy, AppProxy, HCL, MyDictionary, AgentId, EntryDef, ZomeInfo, DnaInfo } from "@ddd-qc/cell-proxy"; import { RoleSpecific } from "./roleMixin"; import { GetStrategy } from "@holochain-open-dev/core-types"; interface IDnaViewModel { dumpCallLogs(zomeName?: ZomeName): void; dumpSignalLogs(zomeName?: ZomeName): void; } export type DvmConstructor = typeof RoleSpecific & { DNA_MODIFIERS: DnaModifiersOptions; } & { new (host: ReactiveElement, proxy: AppProxy, idOrHcl: HCL | InstalledAppId, isMainView: boolean): DnaViewModel; }; declare const DnaViewModel_base: (abstract new (...args: any[]) => { _cell?: import("@ddd-qc/cell-proxy").Cell; get cell(): import("@ddd-qc/cell-proxy").Cell; }) & ((abstract new (...args: any[]) => { baseRoleName: import("@ddd-qc/cell-proxy").BaseRoleName; }) & { readonly DEFAULT_BASE_ROLE_NAME: import("@ddd-qc/cell-proxy").BaseRoleName; }) & typeof ViewModel; export declare abstract class DnaViewModel extends DnaViewModel_base implements IDnaViewModel { readonly host: ReactiveElement; static ZVM_DEFS: ZvmDef[]; static DNA_MODIFIERS: DnaModifiersOptions; protected _cellProxy: CellProxy; protected _zomeViewModels: MyDictionary; protected _zomeNames: ZomeName[]; private _allEntryDefs; private _allZomeInfo; private _dnaInfo; readonly hcl: HCL; constructor(host: ReactiveElement, appProxy: AppProxy, idOrHcl: HCL | InstalledAppId, isMainView: boolean); get allEntryDefs(): MyDictionary>; get allZomeInfo(): MyDictionary; get dnaInfo(): DnaInfo; get livePeers(): AgentId[]; get zomeNames(): ZomeName[]; getZomeEntryDefs(zomeName: ZomeName): MyDictionary; getZomeViewModel(zomeName: ZomeName): ZomeViewModel; provideContext(host: ReactiveElement): void; getContext(): Context; authorizeZomeCalls(adminWs: AdminWebsocket): Promise; protected probeAllInner(strategy: GetStrategy): void; zvmChanged(_zvm: ZomeViewModel): void; initializePerspectiveFromLocal(): Promise; initializePerspectiveFromNetwork(): Promise; private queryAllDnaData; dumpCallLogs(zomeName?: ZomeName): void; dumpSignalLogs(zomeName?: ZomeName): void; purgeLogs(): void; } export {}; //# sourceMappingURL=DnaViewModel.d.ts.map