import { type HeliusClient } from 'helius-sdk'; export declare function setSessionSecretKey(key: Uint8Array): void; export declare function getSessionSecretKey(): Uint8Array | null; export declare function setSessionWalletAddress(address: string): void; export declare function getSessionWalletAddress(): string | null; export declare function setApiKey(apiKey: string): void; export declare function getApiKey(): string; export declare function hasApiKey(): boolean; export declare function getHeliusClient(): HeliusClient; export declare function setNetwork(network: 'mainnet-beta' | 'devnet'): void; export declare function getNetwork(): 'mainnet-beta' | 'devnet'; export declare function getEnhancedWebSocketUrl(): string; export declare function getLaserstreamUrl(region?: 'ewr' | 'pitt' | 'slc' | 'lax' | 'lon' | 'ams' | 'fra' | 'tyo' | 'sgp'): string; /** * Load the signer keypair from session or disk. * Returns the raw secret key bytes and the wallet address string. * Throws with message 'NO_KEYPAIR' if no keypair is available. */ export declare function loadSignerOrFail(): Promise<{ secretKey: Uint8Array; walletAddress: string; }>; export declare function restRequest(endpoint: string, options?: RequestInit): Promise;