/** * 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 AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const THAW_ACCOUNT_DISCRIMINATOR = 11; export declare function getThawAccountDiscriminatorBytes(): ReadonlyUint8Array; export type ThawAccountInstruction = string, TAccountMint extends string | AccountMeta = string, TAccountOwner extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAccount extends string ? WritableAccount : TAccountAccount, TAccountMint extends string ? ReadonlyAccount : TAccountMint, TAccountOwner extends string ? ReadonlyAccount : TAccountOwner, ...TRemainingAccounts ]>; export type ThawAccountInstructionData = { discriminator: number; }; export type ThawAccountInstructionDataArgs = {}; export declare function getThawAccountInstructionDataEncoder(): FixedSizeEncoder; export declare function getThawAccountInstructionDataDecoder(): FixedSizeDecoder; export declare function getThawAccountInstructionDataCodec(): FixedSizeCodec; export type ThawAccountInput = { /** The account to thaw. */ account: Address; /** The token mint. */ mint: Address; /** The mint freeze authority or its multisignature account. */ owner: Address | TransactionSigner; multiSigners?: Array; }; export declare function getThawAccountInstruction(input: ThawAccountInput, config?: { programAddress?: TProgramAddress; }): ThawAccountInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner>; export type ParsedThawAccountInstruction = { programAddress: Address; accounts: { /** The account to thaw. */ account: TAccountMetas[0]; /** The token mint. */ mint: TAccountMetas[1]; /** The mint freeze authority or its multisignature account. */ owner: TAccountMetas[2]; }; data: ThawAccountInstructionData; }; export declare function parseThawAccountInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedThawAccountInstruction; //# sourceMappingURL=thawAccount.d.ts.map