UNPKG

@nosana/kit

Version:

Nosana KIT

11 lines 587 B
import { type Address } from '@solana/kit'; import { getWorkInstruction } from '@nosana/jobs-program'; import { InstructionsHelperParams } from './types.js'; export type WorkParams = { market: Address; nft?: Address; }; export type WorkInstruction = ReturnType<typeof getWorkInstruction>; export type Work = (params: WorkParams) => Promise<WorkInstruction>; export declare function work({ market, nft }: WorkParams, { config, deps, client, getRequiredWallet, getStaticAccounts, getNosATA, }: InstructionsHelperParams): Promise<WorkInstruction>; //# sourceMappingURL=work.d.ts.map