UNPKG

@junobuild/analytics

Version:

Tracker for Juno analytics

7 lines (6 loc) 399 B
import { type ActorMethod, type ActorSubclass } from '@dfinity/agent'; import type { IDL } from '@dfinity/candid'; import type { EnvironmentActor } from '../types/env'; export declare const createActor: <T = Record<string, ActorMethod<unknown[], unknown>>>({ orbiterId: canisterId, idlFactory, container }: { idlFactory: IDL.InterfaceFactory; } & EnvironmentActor) => Promise<ActorSubclass<T>>;