/**
 * 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 TOKEN_MESSENGER_DISCRIMINATOR: Uint8Array;
export declare function getTokenMessengerDiscriminatorBytes(): ReadonlyUint8Array;
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;
};
export declare function getTokenMessengerEncoder(): Encoder<TokenMessengerArgs>;
export declare function getTokenMessengerDecoder(): Decoder<TokenMessenger>;
export declare function getTokenMessengerCodec(): Codec<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;
