import { AdminWebsocket, ClonedCell, InstalledAppId } from "@holochain/client"; import { ReactiveElement } from "lit"; import { AppProxy, BaseRoleName, CellAddress, CellCloner, MyDictionary, HCL } from "@ddd-qc/cell-proxy"; import { CellDef, DvmDef, HvmDef } from "./definitions"; import { DnaViewModel } from "./DnaViewModel"; import { GetStrategy } from "@holochain-open-dev/core-types"; import { RoleName } from "@holochain/client/lib/types"; export declare class HappViewModel { protected _host: ReactiveElement; protected _appProxy: AppProxy; readonly isMainView: boolean; readonly appId: InstalledAppId; protected _dvmMap: MyDictionary; protected _defMap: MyDictionary; getDef(name: BaseRoleName): DvmDef | undefined; getCellDvms(cellId: CellAddress): MyDictionary | undefined; getDvm(hclOrId: HCL | BaseRoleName): DnaViewModel | undefined; getClones(baseRoleName: BaseRoleName): DnaViewModel[]; static new(host: ReactiveElement, appProxy: AppProxy, hvmDef: HvmDef, isMainView: boolean): Promise; private constructor(); get happSha256(): string | null; getHappShareCode(role?: RoleName, customName?: string): string | null; authorizeAllZomeCalls(adminWs?: AdminWebsocket): Promise; private createStartingClonesDvm; private createDvm; private createOriginalDvm; cloneDvm(baseRoleName: BaseRoleName, cellDef?: CellDef, cellCloner?: CellCloner): Promise<[ClonedCell, DnaViewModel]>; probeAll(strategy: GetStrategy): void; initializePerspectiveFromLocal(): Promise; initializePerspectiveFromNetwork(): Promise; dumpCallLogs(baseRoleName?: BaseRoleName): void; } //# sourceMappingURL=HappViewModel.d.ts.map