/** * 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'; export declare const INITIALIZE_PERMANENT_DELEGATE_DISCRIMINATOR = 35; export declare function getInitializePermanentDelegateDiscriminatorBytes(): ReadonlyUint8Array; export type InitializePermanentDelegateInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializePermanentDelegateInstructionData = { discriminator: number; /** Authority that may sign for `Transfer`s and `Burn`s on any account */ delegate: Address; }; export type InitializePermanentDelegateInstructionDataArgs = { /** Authority that may sign for `Transfer`s and `Burn`s on any account */ delegate: Address; }; export declare function getInitializePermanentDelegateInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializePermanentDelegateInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializePermanentDelegateInstructionDataCodec(): FixedSizeCodec; export type InitializePermanentDelegateInput = { /** The mint to initialize. */ mint: Address; delegate: InitializePermanentDelegateInstructionDataArgs['delegate']; }; export declare function getInitializePermanentDelegateInstruction(input: InitializePermanentDelegateInput, config?: { programAddress?: TProgramAddress; }): InitializePermanentDelegateInstruction; export type ParsedInitializePermanentDelegateInstruction = { programAddress: Address; accounts: { /** The mint to initialize. */ mint: TAccountMetas[0]; }; data: InitializePermanentDelegateInstructionData; }; export declare function parseInitializePermanentDelegateInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializePermanentDelegateInstruction; //# sourceMappingURL=initializePermanentDelegate.d.ts.map