/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Address, type Instruction, type InstructionWithData, type ReadonlyUint8Array } from '@solana/kit'; import { type ParsedCreateAssociatedTokenIdempotentInstruction, type ParsedCreateAssociatedTokenInstruction, type ParsedRecoverNestedAssociatedTokenInstruction } from '../instructions'; export declare const ASSOCIATED_TOKEN_PROGRAM_ADDRESS: Address<"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL">; export declare enum AssociatedTokenInstruction { CreateAssociatedToken = 0, CreateAssociatedTokenIdempotent = 1, RecoverNestedAssociatedToken = 2 } export declare function identifyAssociatedTokenInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): AssociatedTokenInstruction; export type ParsedAssociatedTokenInstruction = ({ instructionType: AssociatedTokenInstruction.CreateAssociatedToken; } & ParsedCreateAssociatedTokenInstruction) | ({ instructionType: AssociatedTokenInstruction.CreateAssociatedTokenIdempotent; } & ParsedCreateAssociatedTokenIdempotentInstruction) | ({ instructionType: AssociatedTokenInstruction.RecoverNestedAssociatedToken; } & ParsedRecoverNestedAssociatedTokenInstruction); export declare function parseAssociatedTokenInstruction(instruction: Instruction & InstructionWithData): ParsedAssociatedTokenInstruction; //# sourceMappingURL=associatedToken.d.ts.map