export declare const TOKEN_PROGRAM = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"; export declare const TOKEN_2022_PROGRAM = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"; export declare const ASSOCIATED_TOKEN_PROGRAM = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"; export declare const SYSTEM_PROGRAM = "11111111111111111111111111111111"; export declare const COMPUTE_BUDGET_PROGRAM = "ComputeBudget111111111111111111111111111111"; export declare const MEMO_PROGRAM = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"; /** Canonical subscriptions program ID. */ export declare const SUBSCRIPTIONS_PROGRAM = "De1egAFMkMWZSN5rYXRj9CAdheBamobVNubTsi9avR44"; /** subscriptions program instruction discriminators (single byte). */ export declare const SUBSCRIPTIONS_INIT_AUTHORITY_DISCRIMINATOR = 0; export declare const SUBSCRIPTIONS_TRANSFER_DISCRIMINATOR = 10; export declare const SUBSCRIPTIONS_SUBSCRIBE_DISCRIMINATOR = 11; export declare const SUBSCRIPTIONS_CANCEL_DISCRIMINATOR = 12; export declare const USDC: Record; export declare const USDT: Record; export declare const USDG: Record; export declare const PYUSD: Record; export declare const CASH: Record; export declare const STABLECOIN_MINTS: { readonly CASH: Record; readonly PYUSD: Record; readonly USDC: Record; readonly USDG: Record; readonly USDT: Record; }; export type StablecoinSymbol = keyof typeof STABLECOIN_MINTS; export declare const STABLECOIN_TOKEN_PROGRAMS: Record; export declare const DEFAULT_RPC_URLS: Record; /** * Maintainer canonical for the mainnet slug is `mainnet`. The legacy * `mainnet-beta` spelling is accepted as a backward-compatible alias * and normalized to `mainnet`. Other networks pass through unchanged. * Exposed so client helpers can compare and look up consistently. */ export declare function normalizeNetwork(network: string): string; /** * Canonical network slug is `mainnet`. The legacy `mainnet-beta` spelling is * accepted as a backward-compatible alias (normalized to `mainnet`). * * Per the spec, the network MUST be one of mainnet / devnet / localnet. * Anything else (`testnet`, typos, empty string) is rejected at boot rather * than silently treated as mainnet. */ export declare const CANONICAL_NETWORKS: readonly ["mainnet", "devnet", "localnet"]; /** * Validates a network slug against the allowlist, throwing on anything outside * {mainnet, devnet, localnet} (or the `mainnet-beta` alias). Use at server boot * so misconfigured networks fail fast instead of silently defaulting to mainnet. */ export declare function validateNetwork(network: string): void; export declare function resolveStablecoinMint(currency: string, network?: string): string | undefined; export declare function defaultTokenProgramForCurrency(currency: string | undefined, network?: string): string; export declare function stablecoinSymbolForCurrency(currency: string): StablecoinSymbol | undefined; //# sourceMappingURL=constants.d.ts.map