import { Chain, Transport } from "viem"; import { AvalancheCoreClient as Client } from "../../clients/createAvalancheCoreClient.js"; import { LoadVMsReturnType } from "./types/loadVMs.js"; /** * Dynamically loads any virtual machines installed on the node as plugins. * * - Docs: https://build.avax.network/docs/api-reference/admin-api#adminloadvms * * @param client - The client to use. {@link AvalancheCoreClient} * @returns The virtual machines installed on the node. {@link LoadVMsReturnType} * * @example * ```ts * import { createAvalancheCoreClient } from '@avalanche-sdk/client' * import { avalanche } from '@avalanche-sdk/client/chains' * import { loadVMs } from '@avalanche-sdk/client/methods/admin' * * const client = createAvalancheCoreClient({ * chain: avalanche, * transport: { * type: "http", * url: "", * }, * }); * * const vms = await loadVMs(client); * ``` */ export declare function loadVMs(client: Client): Promise; //# sourceMappingURL=loadVMs.d.ts.map