/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/metaplex-foundation/kinobi */ import { Context, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type SetComputeUnitLimitInstructionData = { discriminator: number; /** Transaction-wide compute unit limit. */ units: number; }; export type SetComputeUnitLimitInstructionDataArgs = { /** Transaction-wide compute unit limit. */ units: number; }; export declare function getSetComputeUnitLimitInstructionDataSerializer(): Serializer; export type SetComputeUnitLimitInstructionArgs = SetComputeUnitLimitInstructionDataArgs; export declare function setComputeUnitLimit(context: Pick, input: SetComputeUnitLimitInstructionArgs): TransactionBuilder;