import { type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from "@solana/kit";
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_AUTHORITY = 6000;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER_STATE = 6001;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_MESSENGER = 6002;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_OWNER = 6003;
export declare const TOKEN_MESSENGER_MINTER_ERROR__MALFORMED_MESSAGE = 6004;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_MESSAGE_BODY_VERSION = 6005;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_AMOUNT = 6006;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_DOMAIN = 6007;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_DESTINATION_CALLER = 6008;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_MINT_RECIPIENT = 6009;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_SENDER = 6010;
export declare const TOKEN_MESSENGER_MINTER_ERROR__INVALID_TOKEN_PAIR = 6011;
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;
    }>;
}>;
