/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { SOLANA_ATTESTATION_SERVICE_PROGRAM_ADDRESS } from '../programs'; export declare const CHANGE_SCHEMA_STATUS_DISCRIMINATOR = 2; export declare function getChangeSchemaStatusDiscriminatorBytes(): ReadonlyUint8Array; export type ChangeSchemaStatusInstruction = string, TAccountCredential extends string | AccountMeta = string, TAccountSchema extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority, TAccountCredential extends string ? ReadonlyAccount : TAccountCredential, TAccountSchema extends string ? WritableAccount : TAccountSchema, ...TRemainingAccounts ]>; export type ChangeSchemaStatusInstructionData = { discriminator: number; isPaused: boolean; }; export type ChangeSchemaStatusInstructionDataArgs = { isPaused: boolean; }; export declare function getChangeSchemaStatusInstructionDataEncoder(): FixedSizeEncoder; export declare function getChangeSchemaStatusInstructionDataDecoder(): FixedSizeDecoder; export declare function getChangeSchemaStatusInstructionDataCodec(): FixedSizeCodec; export type ChangeSchemaStatusInput = { authority: TransactionSigner; /** Credential the Schema is associated with */ credential: Address; /** Credential the Schema is associated with */ schema: Address; isPaused: ChangeSchemaStatusInstructionDataArgs['isPaused']; }; export declare function getChangeSchemaStatusInstruction(input: ChangeSchemaStatusInput, config?: { programAddress?: TProgramAddress; }): ChangeSchemaStatusInstruction; export type ParsedChangeSchemaStatusInstruction = { programAddress: Address; accounts: { authority: TAccountMetas[0]; /** Credential the Schema is associated with */ credential: TAccountMetas[1]; /** Credential the Schema is associated with */ schema: TAccountMetas[2]; }; data: ChangeSchemaStatusInstructionData; }; export declare function parseChangeSchemaStatusInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedChangeSchemaStatusInstruction;