import { HttpAgent } from '@dfinity/agent'; import { Canister } from '../types'; export declare class AgentCanister implements Canister { readonly agent: HttpAgent; readonly id: string; private _actor; constructor(agent: HttpAgent, id: string); private _fetchActor; call(method: string, ...args: any[]): Promise; } export declare function agentCanister(agent: HttpAgent, id: string): AgentCanister; //# sourceMappingURL=agentCanister.d.ts.map