/** * 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 { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const DISABLE_NON_CONFIDENTIAL_CREDITS_DISCRIMINATOR = 27; export declare function getDisableNonConfidentialCreditsDiscriminatorBytes(): ReadonlyUint8Array; export declare const DISABLE_NON_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR = 12; export declare function getDisableNonConfidentialCreditsConfidentialTransferDiscriminatorBytes(): ReadonlyUint8Array; export type DisableNonConfidentialCreditsInstruction = string, TAccountAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountToken extends string ? WritableAccount : TAccountToken, TAccountAuthority extends string ? ReadonlyAccount : TAccountAuthority, ...TRemainingAccounts ]>; export type DisableNonConfidentialCreditsInstructionData = { discriminator: number; confidentialTransferDiscriminator: number; }; export type DisableNonConfidentialCreditsInstructionDataArgs = {}; export declare function getDisableNonConfidentialCreditsInstructionDataEncoder(): FixedSizeEncoder; export declare function getDisableNonConfidentialCreditsInstructionDataDecoder(): FixedSizeDecoder; export declare function getDisableNonConfidentialCreditsInstructionDataCodec(): FixedSizeCodec; export type DisableNonConfidentialCreditsInput = { /** The SPL Token account. */ token: Address; /** The source account's owner/delegate or its multisignature account. */ authority: Address | TransactionSigner; multiSigners?: Array; }; export declare function getDisableNonConfidentialCreditsInstruction(input: DisableNonConfidentialCreditsInput, config?: { programAddress?: TProgramAddress; }): DisableNonConfidentialCreditsInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority>; export type ParsedDisableNonConfidentialCreditsInstruction = { programAddress: Address; accounts: { /** The SPL Token account. */ token: TAccountMetas[0]; /** The source account's owner/delegate or its multisignature account. */ authority: TAccountMetas[1]; }; data: DisableNonConfidentialCreditsInstructionData; }; export declare function parseDisableNonConfidentialCreditsInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedDisableNonConfidentialCreditsInstruction; //# sourceMappingURL=disableNonConfidentialCredits.d.ts.map