import type { Address } from '@solana/kit'; import { getCreateAssociatedTokenIdempotentInstructionAsync } from '@solana-program/token'; import { type getFinishInstruction } from '@nosana/jobs-program'; import type { InstructionsHelperParams } from './types.js'; type CreateATAInstruction = Awaited>; export type FinishParams = { job: Address; ipfsResultsHash: string; }; export type FinishInstruction = ReturnType; export type FinishInstructions = [FinishInstruction] | [CreateATAInstruction, FinishInstruction] | [CreateATAInstruction, CreateATAInstruction, FinishInstruction]; export type Finish = (params: FinishParams) => Promise; export declare function finish({ job, ipfsResultsHash }: FinishParams, { config, deps, client, get, getRuns, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise; export {}; //# sourceMappingURL=finish.d.ts.map