/**
 * 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 EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit";
export declare const REMOTE_TOKEN_MESSENGER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getRemoteTokenMessengerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type RemoteTokenMessenger = {
    discriminator: ReadonlyUint8Array;
    domain: number;
    tokenMessenger: Address;
};
export type RemoteTokenMessengerArgs = {
    domain: number;
    tokenMessenger: Address;
};
/** Gets the encoder for {@link RemoteTokenMessengerArgs} account data. */
export declare function getRemoteTokenMessengerEncoder(): FixedSizeEncoder<RemoteTokenMessengerArgs>;
/** Gets the decoder for {@link RemoteTokenMessenger} account data. */
export declare function getRemoteTokenMessengerDecoder(): FixedSizeDecoder<RemoteTokenMessenger>;
/** Gets the codec for {@link RemoteTokenMessenger} account data. */
export declare function getRemoteTokenMessengerCodec(): FixedSizeCodec<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;
