import { HttpAgent, type ActorConfig, type ActorMethod, type ActorSubclass } from '@dfinity/agent';
import type { IDL } from '@dfinity/candid';
import type { ActorParameters } from '../types/actor.types';
export declare const createActor: <T = Record<string, ActorMethod>>({ canisterId, idlFactory, config, ...rest }: {
    idlFactory: IDL.InterfaceFactory;
    canisterId: string;
    config?: Pick<ActorConfig, "callTransform" | "queryTransform">;
} & ActorParameters) => Promise<ActorSubclass<T>>;
export declare const useOrInitAgent: ({ agent, ...rest }: ActorParameters) => Promise<HttpAgent>;
