/**
 * 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 { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
export declare const UPDATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getUpdateDiscriminatorBytes(): ReadonlyUint8Array;
export type UpdateInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMarket extends string | AccountMeta<string> = string, TAccountAccessKey extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
    TAccountAccessKey extends string ? ReadonlyAccount<TAccountAccessKey> : TAccountAccessKey,
    TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
    ...TRemainingAccounts
]>;
export type UpdateInstructionData = {
    discriminator: ReadonlyUint8Array;
    jobExpiration: bigint;
    jobPrice: bigint;
    jobType: number;
    nodeStakeMinimum: bigint;
    jobTimeout: bigint;
};
export type UpdateInstructionDataArgs = {
    jobExpiration: number | bigint;
    jobPrice: number | bigint;
    jobType: number;
    nodeStakeMinimum: number | bigint;
    jobTimeout: number | bigint;
};
export declare function getUpdateInstructionDataEncoder(): FixedSizeEncoder<UpdateInstructionDataArgs>;
export declare function getUpdateInstructionDataDecoder(): FixedSizeDecoder<UpdateInstructionData>;
export declare function getUpdateInstructionDataCodec(): FixedSizeCodec<UpdateInstructionDataArgs, UpdateInstructionData>;
export type UpdateInput<TAccountMarket extends string = string, TAccountAccessKey extends string = string, TAccountAuthority extends string = string> = {
    market: Address<TAccountMarket>;
    accessKey: Address<TAccountAccessKey>;
    authority: TransactionSigner<TAccountAuthority>;
    jobExpiration: UpdateInstructionDataArgs['jobExpiration'];
    jobPrice: UpdateInstructionDataArgs['jobPrice'];
    jobType: UpdateInstructionDataArgs['jobType'];
    nodeStakeMinimum: UpdateInstructionDataArgs['nodeStakeMinimum'];
    jobTimeout: UpdateInstructionDataArgs['jobTimeout'];
};
export declare function getUpdateInstruction<TAccountMarket extends string, TAccountAccessKey extends string, TAccountAuthority extends string, TProgramAddress extends Address = typeof NOSANA_JOBS_PROGRAM_ADDRESS>(input: UpdateInput<TAccountMarket, TAccountAccessKey, TAccountAuthority>, config?: {
    programAddress?: TProgramAddress;
}): UpdateInstruction<TProgramAddress, TAccountMarket, TAccountAccessKey, TAccountAuthority>;
export type ParsedUpdateInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        market: TAccountMetas[0];
        accessKey: TAccountMetas[1];
        authority: TAccountMetas[2];
    };
    data: UpdateInstructionData;
};
export declare function parseUpdateInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateInstruction<TProgram, TAccountMetas>;
