/**
 * 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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
export declare const REMOTE_TOKEN_MESSENGER_DISCRIMINATOR: Uint8Array;
export declare function getRemoteTokenMessengerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type RemoteTokenMessenger = {
    discriminator: ReadonlyUint8Array;
    domain: number;
    tokenMessenger: Address;
};
export type RemoteTokenMessengerArgs = {
    domain: number;
    tokenMessenger: Address;
};
export declare function getRemoteTokenMessengerEncoder(): Encoder<RemoteTokenMessengerArgs>;
export declare function getRemoteTokenMessengerDecoder(): Decoder<RemoteTokenMessenger>;
export declare function getRemoteTokenMessengerCodec(): Codec<RemoteTokenMessengerArgs, RemoteTokenMessenger>;
export declare function decodeRemoteTokenMessenger<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<RemoteTokenMessenger, TAddress>;
export declare function decodeRemoteTokenMessenger<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<RemoteTokenMessenger, TAddress>;
export declare function fetchRemoteTokenMessenger<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<RemoteTokenMessenger, TAddress>>;
export declare function fetchMaybeRemoteTokenMessenger<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<RemoteTokenMessenger, TAddress>>;
export declare function fetchAllRemoteTokenMessenger(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<RemoteTokenMessenger>[]>;
export declare function fetchAllMaybeRemoteTokenMessenger(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<RemoteTokenMessenger>[]>;
export declare function getRemoteTokenMessengerSize(): number;
