/**
 * 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 USED_NONCES_DISCRIMINATOR: Uint8Array;
export declare function getUsedNoncesDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type UsedNonces = {
    discriminator: ReadonlyUint8Array;
    remoteDomain: number;
    firstNonce: bigint;
    usedNonces: Array<bigint>;
};
export type UsedNoncesArgs = {
    remoteDomain: number;
    firstNonce: number | bigint;
    usedNonces: Array<number | bigint>;
};
export declare function getUsedNoncesEncoder(): Encoder<UsedNoncesArgs>;
export declare function getUsedNoncesDecoder(): Decoder<UsedNonces>;
export declare function getUsedNoncesCodec(): Codec<UsedNoncesArgs, UsedNonces>;
export declare function decodeUsedNonces<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<UsedNonces, TAddress>;
export declare function decodeUsedNonces<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<UsedNonces, TAddress>;
export declare function fetchUsedNonces<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<UsedNonces, TAddress>>;
export declare function fetchMaybeUsedNonces<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<UsedNonces, TAddress>>;
export declare function fetchAllUsedNonces(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<UsedNonces>[]>;
export declare function fetchAllMaybeUsedNonces(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<UsedNonces>[]>;
export declare function getUsedNoncesSize(): number;
