import type { Chain } from "viem"; import { type AlchemyAccountsConfig } from "../types.js"; /** * Allows you to change the current chain in the core store. Note, this chain * must be one of the chains configured in your original createConfig call. * * @example * ```ts * import { setChain } from "@account-kit/core"; * import { config } from "./config"; * import { sepolia } from "@account-kit/infra"; * * await setChain(config, sepolia); * ``` * * @param {AlchemyAccountsConfig} config the accounts config object * @param {Chain} chain the chain to change to. It must be present in the connections config object */ export declare function setChain(config: AlchemyAccountsConfig, chain: Chain): Promise;