import { HttpAgent } from "@dfinity/agent"; import type { IDL } from "@dfinity/candid"; export declare abstract class CandidService { protected createServiceClient(factory: IDL.InterfaceFactory, canisterId: string, host: string, agent: HttpAgent): T; protected handleResponse(service: Promise, mapper: (from: From) => To, args?: unknown): Promise; constructor(); }