/** * 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 ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { SOLANA_ATTESTATION_SERVICE_PROGRAM_ADDRESS } from '../programs'; export declare const CHANGE_AUTHORIZED_SIGNERS_DISCRIMINATOR = 3; export declare function getChangeAuthorizedSignersDiscriminatorBytes(): ReadonlyUint8Array; export type ChangeAuthorizedSignersInstruction = string, TAccountAuthority extends string | AccountMeta = string, TAccountCredential extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPayer extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority, TAccountCredential extends string ? WritableAccount : TAccountCredential, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type ChangeAuthorizedSignersInstructionData = { discriminator: number; signers: Array
; }; export type ChangeAuthorizedSignersInstructionDataArgs = { signers: Array
; }; export declare function getChangeAuthorizedSignersInstructionDataEncoder(): Encoder; export declare function getChangeAuthorizedSignersInstructionDataDecoder(): Decoder; export declare function getChangeAuthorizedSignersInstructionDataCodec(): Codec; export type ChangeAuthorizedSignersInput = { payer: TransactionSigner; authority: TransactionSigner; /** Credential the Schema is associated with */ credential: Address; systemProgram?: Address; signers: ChangeAuthorizedSignersInstructionDataArgs['signers']; }; export declare function getChangeAuthorizedSignersInstruction(input: ChangeAuthorizedSignersInput, config?: { programAddress?: TProgramAddress; }): ChangeAuthorizedSignersInstruction; export type ParsedChangeAuthorizedSignersInstruction = { programAddress: Address; accounts: { payer: TAccountMetas[0]; authority: TAccountMetas[1]; /** Credential the Schema is associated with */ credential: TAccountMetas[2]; systemProgram: TAccountMetas[3]; }; data: ChangeAuthorizedSignersInstructionData; }; export declare function parseChangeAuthorizedSignersInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedChangeAuthorizedSignersInstruction;