@nosana/kit
Version:
Nosana KIT
12 lines (11 loc) • 677 B
TypeScript
import type { Address, TransactionSigner } from '@solana/kit';
import type { getExtendInstruction } from '../../../../generated_clients/jobs/index.js';
import type { InstructionsHelperParams } from './types.js';
export type ExtendParams = {
job: Address;
timeout: number | bigint;
payer?: TransactionSigner;
};
export type ExtendInstruction = ReturnType<typeof getExtendInstruction>;
export type Extend = (params: ExtendParams) => Promise<ExtendInstruction>;
export declare function extend({ job, timeout, payer }: ExtendParams, { config, deps, client, get, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<ExtendInstruction>;