import { Message } from "../stargate"; import { AminoMsg } from "@cosmjs/amino"; import { MsgCreateCertificate, MsgRevokeCertificate } from "@akashnetwork/chain-sdk/private-types/akash.v1"; /** * Creates an Amino message object. * * @param {Message} message - The type of the message. * @param {AminoMsg} messageBody - The body of the message. * @returns {object} The Amino message object. */ export declare function createAminoMessage(message: Message, messageBody: AminoMsg): { typeUrl: Message; value: AminoMsg; }; type WithoutType = Omit; type MessageTypes = { [Message.MsgCreateCertificate]: WithoutType; [Message.MsgRevokeCertificate]: Omit, "id"> & { id: WithoutType; }; }; /** * Creates a Stargate message object with a fee. * * @template T * @param {T} message - The type of the message. * @param {MessageTypes[T]} messageBody - The body of the message. * @returns {object} The Stargate message object with a fee. */ export declare function createStarGateMessage(message: T, messageBody: MessageTypes[T]): { message: { typeUrl: T; value: MessageTypes[T]; }; fee: { amount: { denom: string; amount: string; }[]; gas: string; }; }; export {};