UNPKG

@nosana/kit

Version:

Nosana KIT

10 lines (9 loc) 560 B
import type { Address } from '@solana/kit'; import type { getEndInstruction } from '../../../../generated_clients/jobs/index.js'; import type { InstructionsHelperParams } from './types.js'; export type EndParams = { job: Address; }; export type EndInstruction = ReturnType<typeof getEndInstruction>; export type End = (params: EndParams) => Promise<EndInstruction>; export declare function end({ job }: EndParams, { config, deps, client, get, getRuns, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<EndInstruction>;