import type { ISolanaNetwork } from '../../types'; import { vaultIdl } from './idl/vault-idl'; declare const fallbackDecimals = 8; declare const fallbackNetwork: ISolanaNetwork; /** * Program ids deployed on one Solana network. `withdrawalQueue` is absent where * the queue program is not deployed yet (currently mainnet-beta). */ type ISolanaProgramIds = { vault: string; withdrawalQueue?: string; }; declare const fallbackRpcEndpoints: { readonly devnet: "https://api.devnet.solana.com"; readonly mainnet: "https://api.mainnet-beta.solana.com"; readonly testnet: "https://api.testnet.solana.com"; readonly localnet: "http://127.0.0.1:8899"; }; declare const programIds: { devnet: { vault: string; withdrawalQueue: string; }; "mainnet-beta": { vault: string; }; localnet: { vault: string; withdrawalQueue: string; }; }; /** Solana networks the canonical august_vault program is actually deployed on. */ type ISolanaDeployedNetwork = keyof typeof programIds; /** * Program ids for `network`, or `undefined` when the canonical program has no * deployment there (currently `testnet`). Callers must handle `undefined` — * silently substituting a default would hand back a dead address. */ declare function getDeployedProgramIds(network: ISolanaNetwork): ISolanaProgramIds | undefined; export { fallbackDecimals, fallbackNetwork, fallbackRpcEndpoints, getDeployedProgramIds, programIds, vaultIdl, }; export type { ISolanaDeployedNetwork, ISolanaProgramIds };