/** * 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 AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const INITIALIZE_ACCOUNT3_DISCRIMINATOR = 18; export declare function getInitializeAccount3DiscriminatorBytes(): ReadonlyUint8Array; export type InitializeAccount3Instruction = string, TAccountMint extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAccount extends string ? WritableAccount : TAccountAccount, TAccountMint extends string ? ReadonlyAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializeAccount3InstructionData = { discriminator: number; /** The new account's owner/multisignature. */ owner: Address; }; export type InitializeAccount3InstructionDataArgs = { /** The new account's owner/multisignature. */ owner: Address; }; export declare function getInitializeAccount3InstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeAccount3InstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeAccount3InstructionDataCodec(): FixedSizeCodec; export type InitializeAccount3Input = { /** The account to initialize. */ account: Address; /** The mint this account will be associated with. */ mint: Address; owner: InitializeAccount3InstructionDataArgs['owner']; }; export declare function getInitializeAccount3Instruction(input: InitializeAccount3Input, config?: { programAddress?: TProgramAddress; }): InitializeAccount3Instruction; export type ParsedInitializeAccount3Instruction = { programAddress: Address; accounts: { /** The account to initialize. */ account: TAccountMetas[0]; /** The mint this account will be associated with. */ mint: TAccountMetas[1]; }; data: InitializeAccount3InstructionData; }; export declare function parseInitializeAccount3Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeAccount3Instruction; //# sourceMappingURL=initializeAccount3.d.ts.map