/** * 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 Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { SCOPE_PROGRAM_ADDRESS } from "../programs"; export declare const SET_RESUME_AUTHORITY_DISCRIMINATOR: Uint8Array; export declare function getSetResumeAuthorityDiscriminatorBytes(): ReadonlyUint8Array; export type SetResumeAuthorityInstruction = string, TAccountConfiguration extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountConfiguration extends string ? WritableAccount : TAccountConfiguration, ...TRemainingAccounts ]>; export type SetResumeAuthorityInstructionData = { discriminator: ReadonlyUint8Array; newResumeAuthority: Address; feedName: string; }; export type SetResumeAuthorityInstructionDataArgs = { newResumeAuthority: Address; feedName: string; }; export declare function getSetResumeAuthorityInstructionDataEncoder(): Encoder; export declare function getSetResumeAuthorityInstructionDataDecoder(): Decoder; export declare function getSetResumeAuthorityInstructionDataCodec(): Codec; export type SetResumeAuthorityInput = { admin: TransactionSigner; configuration: Address; newResumeAuthority: SetResumeAuthorityInstructionDataArgs["newResumeAuthority"]; feedName: SetResumeAuthorityInstructionDataArgs["feedName"]; }; export declare function getSetResumeAuthorityInstruction(input: SetResumeAuthorityInput, config?: { programAddress?: TProgramAddress; }): SetResumeAuthorityInstruction; export type ParsedSetResumeAuthorityInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; configuration: TAccountMetas[1]; }; data: SetResumeAuthorityInstructionData; }; export declare function parseSetResumeAuthorityInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetResumeAuthorityInstruction; //# sourceMappingURL=setResumeAuthority.d.ts.map