import { WormholeContext as LegacyWormholeContext, WormholeConfig, ChainResourceMap } from '../sdklegacy';
import { WormholeConnectConfig, InternalConfig } from './types';
import { Wormhole as WormholeV2, Network } from '@wormhole-foundation/sdk';
export declare function buildConfig(customConfig?: WormholeConnectConfig): InternalConfig<Network>;
declare const config: InternalConfig<"Mainnet" | "Testnet" | "Devnet">;
export default config;
export declare function getLegacyWormholeContext(network: Network, sdkConfig: WormholeConfig, rpcs: ChainResourceMap): LegacyWormholeContext;
export declare function getDefaultWormholeContext(network: Network): LegacyWormholeContext;
export declare function getWormholeContextV2(): Promise<WormholeV2<Network>>;
export declare function newWormholeContextV2(): Promise<WormholeV2<Network>>;
export declare function setConfig(customConfig?: WormholeConnectConfig): void;
//# sourceMappingURL=index.d.ts.map