/** * 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_EMERGENCY_COUNCIL_DISCRIMINATOR: Uint8Array; export declare function getSetEmergencyCouncilDiscriminatorBytes(): ReadonlyUint8Array; export type SetEmergencyCouncilInstruction = 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 SetEmergencyCouncilInstructionData = { discriminator: ReadonlyUint8Array; newEmergencyCouncil: Address; feedName: string; }; export type SetEmergencyCouncilInstructionDataArgs = { newEmergencyCouncil: Address; feedName: string; }; export declare function getSetEmergencyCouncilInstructionDataEncoder(): Encoder; export declare function getSetEmergencyCouncilInstructionDataDecoder(): Decoder; export declare function getSetEmergencyCouncilInstructionDataCodec(): Codec; export type SetEmergencyCouncilInput = { admin: TransactionSigner; configuration: Address; newEmergencyCouncil: SetEmergencyCouncilInstructionDataArgs["newEmergencyCouncil"]; feedName: SetEmergencyCouncilInstructionDataArgs["feedName"]; }; export declare function getSetEmergencyCouncilInstruction(input: SetEmergencyCouncilInput, config?: { programAddress?: TProgramAddress; }): SetEmergencyCouncilInstruction; export type ParsedSetEmergencyCouncilInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; configuration: TAccountMetas[1]; }; data: SetEmergencyCouncilInstructionData; }; export declare function parseSetEmergencyCouncilInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetEmergencyCouncilInstruction; //# sourceMappingURL=setEmergencyCouncil.d.ts.map