/**
 * 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 MARKET_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getMarketAccountDiscriminatorBytes(): ReadonlyUint8Array;
export type MarketAccount = {
    discriminator: ReadonlyUint8Array;
    authority: Address;
    jobExpiration: bigint;
    jobPrice: bigint;
    jobTimeout: bigint;
    jobType: number;
    vault: Address;
    vaultBump: number;
    nodeAccessKey: Address;
    nodeXnosMinimum: bigint;
    queueType: number;
    queue: Array<Address>;
};
export type MarketAccountArgs = {
    authority: Address;
    jobExpiration: number | bigint;
    jobPrice: number | bigint;
    jobTimeout: number | bigint;
    jobType: number;
    vault: Address;
    vaultBump: number;
    nodeAccessKey: Address;
    nodeXnosMinimum: number | bigint;
    queueType: number;
    queue: Array<Address>;
};
export declare function getMarketAccountEncoder(): Encoder<MarketAccountArgs>;
export declare function getMarketAccountDecoder(): Decoder<MarketAccount>;
export declare function getMarketAccountCodec(): Codec<MarketAccountArgs, MarketAccount>;
export declare function decodeMarketAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<MarketAccount, TAddress>;
export declare function decodeMarketAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<MarketAccount, TAddress>;
export declare function fetchMarketAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<MarketAccount, TAddress>>;
export declare function fetchMaybeMarketAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<MarketAccount, TAddress>>;
export declare function fetchAllMarketAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<MarketAccount>[]>;
export declare function fetchAllMaybeMarketAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<MarketAccount>[]>;
