import { type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from "@solana/kit";
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_AUTHORITY = 6000;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__PROGRAM_PAUSED = 6001;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_TRANSMITTER_STATE = 6002;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_THRESHOLD = 6003;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__SIGNATURE_THRESHOLD_ALREADY_SET = 6004;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_OWNER = 6005;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_PAUSER = 6006;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER_MANAGER = 6007;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER = 6008;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__ATTESTER_ALREADY_ENABLED = 6009;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__TOO_FEW_ENABLED_ATTESTERS = 6010;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__SIGNATURE_THRESHOLD_TOO_LOW = 6011;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__ATTESTER_ALREADY_DISABLED = 6012;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__MESSAGE_BODY_LIMIT_EXCEEDED = 6013;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_CALLER = 6014;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_RECIPIENT = 6015;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__SENDER_NOT_PERMITTED = 6016;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SOURCE_DOMAIN = 6017;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_DOMAIN = 6018;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_VERSION = 6019;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_USED_NONCES_ACCOUNT = 6020;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_RECIPIENT_PROGRAM = 6021;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_NONCE = 6022;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__NONCE_ALREADY_USED = 6023;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__MESSAGE_TOO_SHORT = 6024;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__MALFORMED_MESSAGE = 6025;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_ORDER_OR_DUPE = 6026;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER_SIGNATURE = 6027;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTATION_LENGTH = 6028;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_RECOVERY_ID = 6029;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_S_VALUE = 6030;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_HASH = 6031;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_MESSAGE = 6032;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__EVENT_ACCOUNT_WINDOW_NOT_EXPIRED = 6033;
export declare const MESSAGE_TRANSMITTER_V2_ERROR__DESTINATION_DOMAIN_IS_LOCAL_DOMAIN = 6034;
export type MessageTransmitterV2Error = typeof MESSAGE_TRANSMITTER_V2_ERROR__ATTESTER_ALREADY_DISABLED | typeof MESSAGE_TRANSMITTER_V2_ERROR__ATTESTER_ALREADY_ENABLED | typeof MESSAGE_TRANSMITTER_V2_ERROR__DESTINATION_DOMAIN_IS_LOCAL_DOMAIN | typeof MESSAGE_TRANSMITTER_V2_ERROR__EVENT_ACCOUNT_WINDOW_NOT_EXPIRED | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTATION_LENGTH | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER_MANAGER | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_ATTESTER_SIGNATURE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_AUTHORITY | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_CALLER | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_DOMAIN | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_DESTINATION_MESSAGE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_HASH | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_TRANSMITTER_STATE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_MESSAGE_VERSION | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_NONCE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_OWNER | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_PAUSER | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_RECIPIENT | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_RECIPIENT_PROGRAM | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_ORDER_OR_DUPE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_RECOVERY_ID | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_S_VALUE | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SIGNATURE_THRESHOLD | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_SOURCE_DOMAIN | typeof MESSAGE_TRANSMITTER_V2_ERROR__INVALID_USED_NONCES_ACCOUNT | typeof MESSAGE_TRANSMITTER_V2_ERROR__MALFORMED_MESSAGE | typeof MESSAGE_TRANSMITTER_V2_ERROR__MESSAGE_BODY_LIMIT_EXCEEDED | typeof MESSAGE_TRANSMITTER_V2_ERROR__MESSAGE_TOO_SHORT | typeof MESSAGE_TRANSMITTER_V2_ERROR__NONCE_ALREADY_USED | typeof MESSAGE_TRANSMITTER_V2_ERROR__PROGRAM_PAUSED | typeof MESSAGE_TRANSMITTER_V2_ERROR__SENDER_NOT_PERMITTED | typeof MESSAGE_TRANSMITTER_V2_ERROR__SIGNATURE_THRESHOLD_ALREADY_SET | typeof MESSAGE_TRANSMITTER_V2_ERROR__SIGNATURE_THRESHOLD_TOO_LOW | typeof MESSAGE_TRANSMITTER_V2_ERROR__TOO_FEW_ENABLED_ATTESTERS;
export declare function getMessageTransmitterV2ErrorMessage(code: MessageTransmitterV2Error): string;
export declare function isMessageTransmitterV2Error<TProgramErrorCode extends MessageTransmitterV2Error>(error: unknown, transactionMessage: {
    instructions: Record<number, {
        programAddress: Address;
    }>;
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
    context: Readonly<{
        code: TProgramErrorCode;
    }>;
}>;
