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 USED_NONCE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getUsedNonceDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
export type UsedNonce = {
    discriminator: ReadonlyUint8Array;
    quoteDeadline: bigint;
};
export type UsedNonceArgs = {
    quoteDeadline: number | bigint;
};
export declare function getUsedNonceEncoder(): FixedSizeEncoder<UsedNonceArgs>;
export declare function getUsedNonceDecoder(): FixedSizeDecoder<UsedNonce>;
export declare function getUsedNonceCodec(): FixedSizeCodec<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;
