import { FrequencyAccount, FrequencyAccountArgs, getFrequencyAccountCodec } from "../accounts/frequencyAccount.js"; import "../accounts/index.js"; import { findRuleSetPda } from "../pdas/ruleSet.js"; import { findRuleSetBufferPda } from "../pdas/ruleSetBuffer.js"; import "../pdas/index.js"; import { CreateOrUpdateAsyncInput, ParsedCreateOrUpdateInstruction, getCreateOrUpdateInstructionAsync } from "../instructions/createOrUpdate.js"; import { ParsedPuffRuleSetInstruction, PuffRuleSetInput, getPuffRuleSetInstruction } from "../instructions/puffRuleSet.js"; import { ParsedValidateInstruction, ValidateInput, getValidateInstruction } from "../instructions/validate.js"; import { ParsedWriteToBufferInstruction, WriteToBufferAsyncInput, getWriteToBufferInstructionAsync } from "../instructions/writeToBuffer.js"; import "../instructions/index.js"; import { Address, ClientWithPayer, ClientWithRpc, ClientWithTransactionPlanning, ClientWithTransactionSending, ExtendedClient, GetAccountInfoApi, GetMultipleAccountsApi, Instruction, InstructionWithData, ReadonlyUint8Array } from "@solana/kit"; import { SelfFetchFunctions, SelfPlanAndSendFunctions } from "@solana/program-client-core"; //#region src/generated/programs/mplTokenAuthRules.d.ts export declare const MPL_TOKEN_AUTH_RULES_PROGRAM_ADDRESS: Address<"auth9SigNpDKz4sJJ1DfCTuZrZNSAgh9sFD3rboVmgg">; declare const MplTokenAuthRulesAccountLookup: { readonly 0: "FrequencyAccount"; readonly FrequencyAccount: 0; }; export declare const MplTokenAuthRulesAccount: Omit; export type MplTokenAuthRulesAccount = (typeof MplTokenAuthRulesAccount)[keyof typeof MplTokenAuthRulesAccount]; declare const MplTokenAuthRulesInstructionLookup: { readonly 0: "CreateOrUpdate"; readonly 1: "Validate"; readonly 2: "WriteToBuffer"; readonly 3: "PuffRuleSet"; readonly CreateOrUpdate: 0; readonly Validate: 1; readonly WriteToBuffer: 2; readonly PuffRuleSet: 3; }; export declare const MplTokenAuthRulesInstruction: Omit; export type MplTokenAuthRulesInstruction = (typeof MplTokenAuthRulesInstruction)[keyof typeof MplTokenAuthRulesInstruction]; export declare function identifyMplTokenAuthRulesInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): MplTokenAuthRulesInstruction; export type ParsedMplTokenAuthRulesInstruction = ({ instructionType: typeof MplTokenAuthRulesInstruction.CreateOrUpdate; } & ParsedCreateOrUpdateInstruction) | ({ instructionType: typeof MplTokenAuthRulesInstruction.Validate; } & ParsedValidateInstruction) | ({ instructionType: typeof MplTokenAuthRulesInstruction.WriteToBuffer; } & ParsedWriteToBufferInstruction) | ({ instructionType: typeof MplTokenAuthRulesInstruction.PuffRuleSet; } & ParsedPuffRuleSetInstruction); export declare function parseMplTokenAuthRulesInstruction(instruction: Instruction & InstructionWithData): ParsedMplTokenAuthRulesInstruction; export type MplTokenAuthRulesPlugin = { accounts: MplTokenAuthRulesPluginAccounts; instructions: MplTokenAuthRulesPluginInstructions; pdas: MplTokenAuthRulesPluginPdas; identifyInstruction: typeof identifyMplTokenAuthRulesInstruction; parseInstruction: typeof parseMplTokenAuthRulesInstruction; }; export type MplTokenAuthRulesPluginAccounts = { frequencyAccount: ReturnType & SelfFetchFunctions; }; export type MplTokenAuthRulesPluginInstructions = { createOrUpdate: (input: MakeOptional) => ReturnType & SelfPlanAndSendFunctions; validate: (input: ValidateInput) => ReturnType & SelfPlanAndSendFunctions; writeToBuffer: (input: MakeOptional) => ReturnType & SelfPlanAndSendFunctions; puffRuleSet: (input: MakeOptional) => ReturnType & SelfPlanAndSendFunctions; }; export type MplTokenAuthRulesPluginPdas = { ruleSet: typeof findRuleSetPda; ruleSetBuffer: typeof findRuleSetBufferPda; }; export type MplTokenAuthRulesPluginRequirements = ClientWithRpc & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending; export declare function mplTokenAuthRulesProgram(): (client: T) => ExtendedClient; type MakeOptional = Omit & Partial>; //#endregion //# sourceMappingURL=mplTokenAuthRules.d.ts.map