import { AlgodClients, AlgorandNodeProviderType, NetworkToggle } from "./algodTypes"; import { AlgorandChainIDs } from "../peraWalletTypes"; declare function getAlgosdkCredentialsForNetwork(network: NetworkToggle, credentialType: AlgorandNodeProviderType): { tokens: { client: string; }; server: { client: string; }; port: number; }; declare function getChainIdForNetwork(network: NetworkToggle): number; /** * The network a chain id pins the session to, or `null` when it does not pin * one: all-networks `4160`, unset, or a network this client has no algod for. * Callers that can tolerate a guess apply their own fallback. */ declare function getNetworkFromChainId(chainId?: AlgorandChainIDs): NetworkToggle | null; /** * Checks supplied algod clients up front. Plain-JS callers bypass the type, and * a wrong value would otherwise surface much later as a failed account lookup. */ declare function assertValidAlgodClients(clients: AlgodClients): void; export { assertValidAlgodClients, getAlgosdkCredentialsForNetwork, getChainIdForNetwork, getNetworkFromChainId };