/**
 * This code was AUTOGENERATED using the Codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun Codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from "@solana/kit";
/** InvalidAuthority: Invalid authority */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_AUTHORITY = 6000;
/** InvalidTokenMessengerState: Invalid token messenger state */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER_STATE = 6001;
/** InvalidTokenMessenger: Invalid token messenger */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER = 6002;
/** InvalidOwner: Invalid owner */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_OWNER = 6003;
/** MalformedMessage: Malformed message */
export declare const TOKEN_MESSENGER_MINTER_ERROR__MALFORMED_MESSAGE = 6004;
/** InvalidMessageBodyVersion: Invalid message body version */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_MESSAGE_BODY_VERSION = 6005;
/** InvalidAmount: Invalid amount */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_AMOUNT = 6006;
/** InvalidDestinationDomain: Invalid destination domain */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_DOMAIN = 6007;
/** InvalidDestinationCaller: Invalid destination caller */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_CALLER = 6008;
/** InvalidMintRecipient: Invalid mint recipient */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_MINT_RECIPIENT = 6009;
/** InvalidSender: Invalid sender */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_SENDER = 6010;
/** InvalidTokenPair: Invalid token pair */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_PAIR = 6011;
/** InvalidTokenMint: Invalid token mint */
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MINT = 6012;
export type TokenMessengerMinterError = typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_AMOUNT | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_AUTHORITY | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_CALLER | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_DOMAIN | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_MESSAGE_BODY_VERSION | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_MINT_RECIPIENT | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_OWNER | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_SENDER | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER_STATE | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MINT | typeof TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_PAIR | typeof TOKEN_MESSENGER_MINTER_ERROR__MALFORMED_MESSAGE;
export declare function getTokenMessengerMinterErrorMessage(code: TokenMessengerMinterError): string;
export declare function isTokenMessengerMinterError<TProgramErrorCode extends TokenMessengerMinterError>(error: unknown, transactionMessage: {
    instructions: Record<number, {
        programAddress: Address;
    }>;
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
    context: Readonly<{
        code: TProgramErrorCode;
    }>;
}>;
//# sourceMappingURL=tokenMessengerMinter.d.ts.map