import { Identity } from "@icp-sdk/core/agent"; import { Principal } from "@icp-sdk/core/principal"; import { _SERVICE } from "../declarations/main/main.did.js"; import { _SERVICE as _STORAGE_SERVICE } from "../declarations/storage/storage.did.js"; export declare let mainActor: (identity?: Identity) => Promise<_SERVICE>; export declare let mainOnewayCall: (methodName: M, args: Parameters<_SERVICE[M]>) => Promise; export declare let storageActor: (storageId: Principal, identity?: Identity) => Promise<_STORAGE_SERVICE>;