import { Provider, Wallet } from "@coral-xyz/anchor"; import { PublicKey } from "@solana/web3.js"; import { JupiterApiClient } from "./utils"; import { PhoenixApiClient } from "./utils/phoenixApi"; export declare enum ClusterNetwork { Mainnet = "mainnet-beta", Testnet = "testnet", Devnet = "devnet", Localnet = "localnet", Custom = "custom" } export declare namespace ClusterNetwork { function fromStr(cluster: string): ClusterNetwork; /** * Detects the Solana cluster network from an RPC endpoint URL * * @param rpcUrl The RPC endpoint URL * @returns The detected cluster network */ function fromUrl(rpcUrl: string): ClusterNetwork; } export type GlamClientConfig = { provider?: Provider; wallet?: Wallet; cluster?: ClusterNetwork; statePda?: PublicKey; jupiterApiKey?: string; jupiterApiClient?: JupiterApiClient; phoenixApiUrl?: string; phoenixApiClient?: PhoenixApiClient; useStaging?: boolean; };