/** * 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 ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; import { type AccountState, type AccountStateArgs } from '../types'; export declare const INITIALIZE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR = 28; export declare function getInitializeDefaultAccountStateDiscriminatorBytes(): ReadonlyUint8Array; export declare const INITIALIZE_DEFAULT_ACCOUNT_STATE_DEFAULT_ACCOUNT_STATE_DISCRIMINATOR = 0; export declare function getInitializeDefaultAccountStateDefaultAccountStateDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeDefaultAccountStateInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializeDefaultAccountStateInstructionData = { discriminator: number; defaultAccountStateDiscriminator: number; /** The state each new token account should start with. */ state: AccountState; }; export type InitializeDefaultAccountStateInstructionDataArgs = { /** The state each new token account should start with. */ state: AccountStateArgs; }; export declare function getInitializeDefaultAccountStateInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeDefaultAccountStateInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeDefaultAccountStateInstructionDataCodec(): FixedSizeCodec; export type InitializeDefaultAccountStateInput = { /** The mint. */ mint: Address; state: InitializeDefaultAccountStateInstructionDataArgs['state']; }; export declare function getInitializeDefaultAccountStateInstruction(input: InitializeDefaultAccountStateInput, config?: { programAddress?: TProgramAddress; }): InitializeDefaultAccountStateInstruction; export type ParsedInitializeDefaultAccountStateInstruction = { programAddress: Address; accounts: { /** The mint. */ mint: TAccountMetas[0]; }; data: InitializeDefaultAccountStateInstructionData; }; export declare function parseInitializeDefaultAccountStateInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeDefaultAccountStateInstruction; //# sourceMappingURL=initializeDefaultAccountState.d.ts.map