/** * 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_SCHEMA_DESCRIPTION_DISCRIMINATOR = 4; export declare function getChangeSchemaDescriptionDiscriminatorBytes(): ReadonlyUint8Array; export type ChangeSchemaDescriptionInstruction = string, TAccountAuthority extends string | AccountMeta = string, TAccountCredential extends string | AccountMeta = string, TAccountSchema 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 ? ReadonlyAccount : TAccountCredential, TAccountSchema extends string ? WritableAccount : TAccountSchema, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type ChangeSchemaDescriptionInstructionData = { discriminator: number; description: string; }; export type ChangeSchemaDescriptionInstructionDataArgs = { description: string; }; export declare function getChangeSchemaDescriptionInstructionDataEncoder(): Encoder; export declare function getChangeSchemaDescriptionInstructionDataDecoder(): Decoder; export declare function getChangeSchemaDescriptionInstructionDataCodec(): Codec; export type ChangeSchemaDescriptionInput = { payer: TransactionSigner; authority: TransactionSigner; /** Credential the Schema is associated with */ credential: Address; /** Credential the Schema is associated with */ schema: Address; systemProgram?: Address; description: ChangeSchemaDescriptionInstructionDataArgs['description']; }; export declare function getChangeSchemaDescriptionInstruction(input: ChangeSchemaDescriptionInput, config?: { programAddress?: TProgramAddress; }): ChangeSchemaDescriptionInstruction; export type ParsedChangeSchemaDescriptionInstruction = { programAddress: Address; accounts: { payer: TAccountMetas[0]; authority: TAccountMetas[1]; /** Credential the Schema is associated with */ credential: TAccountMetas[2]; /** Credential the Schema is associated with */ schema: TAccountMetas[3]; systemProgram: TAccountMetas[4]; }; data: ChangeSchemaDescriptionInstructionData; }; export declare function parseChangeSchemaDescriptionInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedChangeSchemaDescriptionInstruction;