/**
 * 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_NONCE_DISCRIMINATOR: Uint8Array;
export declare function getUsedNonceDiscriminatorBytes(): ReadonlyUint8Array;
export type UsedNonce = {
    discriminator: ReadonlyUint8Array;
    isUsed: boolean;
};
export type UsedNonceArgs = {
    isUsed: boolean;
};
export declare function getUsedNonceEncoder(): Encoder<UsedNonceArgs>;
export declare function getUsedNonceDecoder(): Decoder<UsedNonce>;
export declare function getUsedNonceCodec(): Codec<UsedNonceArgs, UsedNonce>;
export declare function decodeUsedNonce<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<UsedNonce, TAddress>;
export declare function decodeUsedNonce<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<UsedNonce, TAddress>;
export declare function fetchUsedNonce<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<UsedNonce, TAddress>>;
export declare function fetchMaybeUsedNonce<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<UsedNonce, TAddress>>;
export declare function fetchAllUsedNonce(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<UsedNonce>[]>;
export declare function fetchAllMaybeUsedNonce(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<UsedNonce>[]>;
export declare function getUsedNonceSize(): number;
