/** * 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, Pda, PublicKey, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; export type UiAmountToAmountInstructionAccounts = { mint: PublicKey | Pda; }; export type UiAmountToAmountInstructionData = { discriminator: number; uiAmount: bigint; }; export type UiAmountToAmountInstructionDataArgs = { uiAmount: number | bigint; }; export declare function getUiAmountToAmountInstructionDataSerializer(): Serializer; export type UiAmountToAmountInstructionArgs = UiAmountToAmountInstructionDataArgs; export declare function uiAmountToAmount(context: Pick, input: UiAmountToAmountInstructionAccounts & UiAmountToAmountInstructionArgs): TransactionBuilder;