/**
 * 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_V2_ERROR__INVALID_AUTHORITY = 6000;
/** InvalidTokenMinterState: Invalid token minter state */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_MINTER_STATE = 6001;
/** ProgramPaused: Instruction is not allowed at this time */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__PROGRAM_PAUSED = 6002;
/** InvalidTokenPairState: Invalid token pair state */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_PAIR_STATE = 6003;
/** InvalidLocalTokenState: Invalid local token state */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_LOCAL_TOKEN_STATE = 6004;
/** InvalidPauser: Invalid pauser */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_PAUSER = 6005;
/** InvalidTokenController: Invalid token controller */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_CONTROLLER = 6006;
/** BurnAmountExceeded: Burn amount exceeded */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__BURN_AMOUNT_EXCEEDED = 6007;
/** InvalidAmount: Invalid amount */
export declare const TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_AMOUNT = 6008;
export type TokenMessengerMinterV2Error = typeof TOKEN_MESSENGER_MINTER_V2_ERROR__BURN_AMOUNT_EXCEEDED | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_AMOUNT | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_AUTHORITY | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_LOCAL_TOKEN_STATE | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_PAUSER | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_CONTROLLER | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_MINTER_STATE | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__INVALID_TOKEN_PAIR_STATE | typeof TOKEN_MESSENGER_MINTER_V2_ERROR__PROGRAM_PAUSED;
export declare function getTokenMessengerMinterV2ErrorMessage(code: TokenMessengerMinterV2Error): string;
export declare function isTokenMessengerMinterV2Error<TProgramErrorCode extends TokenMessengerMinterV2Error>(error: unknown, transactionMessage: {
    instructions: Record<number, {
        programAddress: Address;
    }>;
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
    context: Readonly<{
        code: TProgramErrorCode;
    }>;
}>;
