/**
 * 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 TOKEN_MESSENGER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getTokenMessengerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type TokenMessenger = {
    discriminator: ReadonlyUint8Array;
    denylister: Address;
    owner: Address;
    pendingOwner: Address;
    messageBodyVersion: number;
    authorityBump: number;
    feeRecipient: Address;
    minFeeController: Address;
    minFee: number;
};
export type TokenMessengerArgs = {
    denylister: Address;
    owner: Address;
    pendingOwner: Address;
    messageBodyVersion: number;
    authorityBump: number;
    feeRecipient: Address;
    minFeeController: Address;
    minFee: number;
};
/** Gets the encoder for {@link TokenMessengerArgs} account data. */
export declare function getTokenMessengerEncoder(): FixedSizeEncoder<TokenMessengerArgs>;
/** Gets the decoder for {@link TokenMessenger} account data. */
export declare function getTokenMessengerDecoder(): FixedSizeDecoder<TokenMessenger>;
/** Gets the codec for {@link TokenMessenger} account data. */
export declare function getTokenMessengerCodec(): FixedSizeCodec<TokenMessengerArgs, TokenMessenger>;
export declare function decodeTokenMessenger<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<TokenMessenger, TAddress>;
export declare function decodeTokenMessenger<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<TokenMessenger, TAddress>;
export declare function fetchTokenMessenger<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<TokenMessenger, TAddress>>;
export declare function fetchMaybeTokenMessenger<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<TokenMessenger, TAddress>>;
export declare function fetchAllTokenMessenger(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<TokenMessenger>[]>;
export declare function fetchAllMaybeTokenMessenger(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<TokenMessenger>[]>;
export declare function getTokenMessengerSize(): number;
