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<ReturnType<typeof getCreateAssociatedTokenIdempotentInstructionAsync>>;
export type FinishParams = {
    job: Address;
    ipfsResultsHash: string;
};
export type FinishInstruction = ReturnType<typeof getFinishInstruction>;
export type FinishInstructions = [FinishInstruction] | [CreateATAInstruction, FinishInstruction] | [CreateATAInstruction, CreateATAInstruction, FinishInstruction];
export type Finish = (params: FinishParams) => Promise<FinishInstructions>;
export declare function finish({ job, ipfsResultsHash }: FinishParams, { config, deps, client, get, getRuns, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<FinishInstructions>;
export {};
//# sourceMappingURL=finish.d.ts.map