import type { Instruction } from '@solana/kit'; /** * Resolve the compute-unit cost of a jobs instruction by matching its 8-byte * Anchor discriminator against the generated {@link JOBS_COMPUTE_UNITS} table. * * Works on any raw {@link Instruction} regardless of how it was built, so it can * price a mixed batch. Returns a default value for instructions that are not jobs * instructions (or whose cost has not been measured), letting the caller apply a * fallback. * * @param instruction The instruction to price. * @returns The estimated compute units, or a default value if unknown. * @group @nosana/kit */ export declare function getJobsInstructionComputeUnits(instruction: Instruction): number; //# sourceMappingURL=computeUnits.d.ts.map