/** * 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 WritableAccount } from "@solana/kit"; import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/kit/program-client-core"; import { PHYGITAL_TOKEN_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const CLOSE_PHYGITAL_TOKEN_DISCRIMINATOR: ReadonlyUint8Array; export declare function getClosePhygitalTokenDiscriminatorBytes(): ReadonlyUint8Array; export type ClosePhygitalTokenInstruction = string, TAccountRentRecipient extends string | AccountMeta = string, TAccountAdminConfig extends string | AccountMeta = string, TAccountPhygitalToken extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountRentRecipient extends string ? WritableAccount : TAccountRentRecipient, TAccountAdminConfig extends string ? ReadonlyAccount : TAccountAdminConfig, TAccountPhygitalToken extends string ? WritableAccount : TAccountPhygitalToken, ...TRemainingAccounts ]>; export type ClosePhygitalTokenInstructionData = { discriminator: ReadonlyUint8Array; }; export type ClosePhygitalTokenInstructionDataArgs = {}; export declare function getClosePhygitalTokenInstructionDataEncoder(): FixedSizeEncoder; export declare function getClosePhygitalTokenInstructionDataDecoder(): FixedSizeDecoder; export declare function getClosePhygitalTokenInstructionDataCodec(): FixedSizeCodec; export type ClosePhygitalTokenAsyncInput = { admin: TAccountAdmin; rentRecipient: TAccountRentRecipient; adminConfig?: TAccountAdminConfig; phygitalToken: TAccountPhygitalToken; }; export declare function getClosePhygitalTokenInstructionAsync(input: ClosePhygitalTokenAsyncInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): Promise>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>>>; export type ClosePhygitalTokenInput = { admin: TAccountAdmin; rentRecipient: TAccountRentRecipient; adminConfig: TAccountAdminConfig; phygitalToken: TAccountPhygitalToken; }; export declare function getClosePhygitalTokenInstruction(input: ClosePhygitalTokenInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): ClosePhygitalTokenInstruction>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>, ResolvedInstructionAccountMeta>>; export type ParsedClosePhygitalTokenInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; rentRecipient: TAccountMetas[1]; adminConfig: TAccountMetas[2]; phygitalToken: TAccountMetas[3]; }; data: ClosePhygitalTokenInstructionData; }; export declare function parseClosePhygitalTokenInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedClosePhygitalTokenInstruction; //# sourceMappingURL=closePhygitalToken.d.ts.map