import { PublicKey } from '@solana/web3.js'; import { Coder, Provider } from '@staratlas/anchor'; import { AnchorTypes, ExtractArrayType, ListenProgram, ProgramMethods } from '@staratlas/data-source'; import { CraftableItem } from './craftableItem'; import { CraftingFacility } from './craftingFacility'; import { CraftingProcess } from './craftingProcess'; import { CraftingDomain } from './domain'; import { Crafting as CraftingIDL } from './idl/crafting'; import { Recipe } from './recipe'; import { RecipeCategory } from './recipeCategory'; export { IDL as CRAFTING_IDL } from './idl/crafting'; export type { Crafting as CraftingIDL } from './idl/crafting'; export type CraftingAccountsArray = ExtractArrayType['name']; export type CraftingTypesArray = ExtractArrayType['name']; export declare const craftingErrorMap: import("@staratlas/data-source").ErrorMap; export type CraftingIDLProgram = ProgramMethods; export type CraftingCoder = Coder; export type CraftingTypes = AnchorTypes; export type CraftingIDLAccounts = CraftingTypes['Accounts']; export type CraftableItemAccount = CraftingIDLAccounts['craftableItem']; export type CraftingFacilityAccount = CraftingIDLAccounts['craftingFacility']; export type CraftingProcessAccount = CraftingIDLAccounts['craftingProcess']; export type CraftingDomainAccount = CraftingIDLAccounts['domain']; export type RecipeCategoryAccount = CraftingIDLAccounts['recipeCategory']; export type RecipeAccount = CraftingIDLAccounts['recipe']; export type CraftingAccounts = { craftableItem: CraftableItem; craftingFacility: CraftingFacility; craftingProcess: CraftingProcess; domain: CraftingDomain; recipe: Recipe; recipeCategory: RecipeCategory; }; export type CraftingInstructions = CraftingTypes['Instructions']; export type RegisterCraftableItemIx = CraftingInstructions['registerCraftableItem']; export type DrainCraftableItemBankIx = CraftingInstructions['drainCraftableItemBank']; export type CreateCraftingProcessIx = CraftingInstructions['createCraftingProcess']; export type LegitimizeRecipeIngredientIx = CraftingInstructions['legitimizeRecipeIngredient']; export type RegisterCraftableItemIxInput = RegisterCraftableItemIx['args'][1]; export type DrainCraftableItemBankIxInput = DrainCraftableItemBankIx['args'][1]; export type CreateCraftingProcessInput = CreateCraftingProcessIx['args'][1]; export type LegitimizeRecipeIngredientInput = LegitimizeRecipeIngredientIx['args'][1]; export declare class CraftingProgram extends ListenProgram { constructor(program: CraftingIDLProgram); static buildProgram(programId: PublicKey, provider?: Provider, coder?: Coder): CraftingIDLProgram; } //# sourceMappingURL=constants.d.ts.map