/**
 * 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 LOCAL_TOKEN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getLocalTokenDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type LocalToken = {
    discriminator: ReadonlyUint8Array;
    custody: Address;
    mint: Address;
    burnLimitPerMessage: bigint;
    messagesSent: bigint;
    messagesReceived: bigint;
    amountSent: bigint;
    amountReceived: bigint;
    bump: number;
    custodyBump: number;
};
export type LocalTokenArgs = {
    custody: Address;
    mint: Address;
    burnLimitPerMessage: number | bigint;
    messagesSent: number | bigint;
    messagesReceived: number | bigint;
    amountSent: number | bigint;
    amountReceived: number | bigint;
    bump: number;
    custodyBump: number;
};
/** Gets the encoder for {@link LocalTokenArgs} account data. */
export declare function getLocalTokenEncoder(): FixedSizeEncoder<LocalTokenArgs>;
/** Gets the decoder for {@link LocalToken} account data. */
export declare function getLocalTokenDecoder(): FixedSizeDecoder<LocalToken>;
/** Gets the codec for {@link LocalToken} account data. */
export declare function getLocalTokenCodec(): FixedSizeCodec<LocalTokenArgs, LocalToken>;
export declare function decodeLocalToken<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<LocalToken, TAddress>;
export declare function decodeLocalToken<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<LocalToken, TAddress>;
export declare function fetchLocalToken<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<LocalToken, TAddress>>;
export declare function fetchMaybeLocalToken<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<LocalToken, TAddress>>;
export declare function fetchAllLocalToken(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<LocalToken>[]>;
export declare function fetchAllMaybeLocalToken(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<LocalToken>[]>;
export declare function getLocalTokenSize(): number;
