/** * 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 ReadonlyUint8Array, type WritableAccount, type WritableSignerAccount } 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 REMOVE_OWNER_DISCRIMINATOR: ReadonlyUint8Array; export declare function getRemoveOwnerDiscriminatorBytes(): ReadonlyUint8Array; export type RemoveOwnerInstruction = string, TAccountPhygitalToken extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountOwner extends string ? WritableSignerAccount & AccountSignerMeta : TAccountOwner, TAccountPhygitalToken extends string ? WritableAccount : TAccountPhygitalToken, ...TRemainingAccounts ]>; export type RemoveOwnerInstructionData = { discriminator: ReadonlyUint8Array; }; export type RemoveOwnerInstructionDataArgs = {}; export declare function getRemoveOwnerInstructionDataEncoder(): FixedSizeEncoder; export declare function getRemoveOwnerInstructionDataDecoder(): FixedSizeDecoder; export declare function getRemoveOwnerInstructionDataCodec(): FixedSizeCodec; export type RemoveOwnerInput = { owner: TAccountOwner; phygitalToken: TAccountPhygitalToken; }; export declare function getRemoveOwnerInstruction(input: RemoveOwnerInput, config?: { programAddress?: TProgramAddress | { readonly address: TProgramAddress; }; }): RemoveOwnerInstruction>, ResolvedInstructionAccountMeta>>; export type ParsedRemoveOwnerInstruction = { programAddress: Address; accounts: { owner: TAccountMetas[0]; phygitalToken: TAccountMetas[1]; }; data: RemoveOwnerInstructionData; }; export declare function parseRemoveOwnerInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedRemoveOwnerInstruction; //# sourceMappingURL=removeOwner.d.ts.map