import { PlatformAddressFormat } from '@wormhole-foundation/sdk-connect'; import { AnyChain } from '../chain'; export type WormholeDef = { id: number; coreBridge: string; tokenBridge: string; tokenRelayer?: string; platformAddressFormat?: PlatformAddressFormat; }; export declare class Wormhole { readonly id: number; readonly coreBridge: string; readonly tokenBridge: string; readonly tokenRelayer?: string; readonly platformAddressFormat?: PlatformAddressFormat; constructor({ id, coreBridge, tokenBridge, tokenRelayer, platformAddressFormat, }: WormholeDef); static fromChain(chain: AnyChain): Wormhole; static isKnown(chain: AnyChain): boolean; getWormholeId(): number; getCoreBridge(): string; getTokenBridge(): string; getTokenRelayer(): string | undefined; /** * Format chain native address to Wormhole address * * @param address - chain native address * @returns 32-byte universal multichain hex address representation */ normalizeAddress(address: string): string; }