import { type DeliverTxResponse } from '@cosmjs/stargate'; import { COSMOS_MODULE_MESSAGE_REGISTRY as MessageRegistry } from '../registry.js'; type ProtoConverter = (typeof MessageRegistry)[keyof typeof MessageRegistry]['proto']['converter']; /** * Looks up the protobuf converter for a given message type URL. * * @param typeUrl - The message type URL (e.g., "/hyperlane.core.v1.MsgCreateMailbox") * @returns The protobuf converter that can encode/decode messages of this type * @throws Error if no converter is found for the given type URL */ export declare function getProtoConverter(typeUrl: string): ProtoConverter; /** * Extracts the newly created contract address from a transaction receipt. * Used for ISM, Hook, and other component creation transactions that return an ID. * * @param receipt - The transaction receipt from a component creation transaction * @returns The address/ID of the newly created contract * @throws Error if the receipt is missing a message response or the ID field */ export declare function getNewContractAddress(receipt: DeliverTxResponse): string; export {}; //# sourceMappingURL=base.d.ts.map