import { ResultAsync } from "neverthrow"; import { ChainId } from "../ChainId"; import { BlockchainUnavailableError, PersistenceError, VectorError, InvalidParametersError, ProxyError, RegistryPermissionError, RegistryFactoryContractError, NonFungibleRegistryContractError, ERC20ContractError, GovernanceSignerUnavailableError, BatchModuleContractError, LazyMintModuleContractError, IPFSUnavailableError } from "../errors"; import { EthereumAccountAddress } from "../EthereumAccountAddress"; import { EthereumContractAddress } from "../EthereumContractAddress"; import { Registry } from "../Registry"; import { RegistryEntry } from "../RegistryEntry"; import { RegistryParams } from "../RegistryParams"; import { RegistryTokenId } from "../RegistryTokenId"; import { ERegistrySortOrder } from "../typing"; import { RegistryModule } from "../RegistryModule"; import { InitializeStatus } from "../InitializeStatus"; import { LazyMintingSignature } from "../LazyMintingSignature"; import { RegistryName } from "../RegistryName"; export interface IHypernetRegistries { registriesInitialized(chainId?: ChainId): ResultAsync; waitRegistriesInitialized(chainId?: ChainId): ResultAsync; initializeRegistries(chainId?: ChainId): ResultAsync; getRegistries(pageNumber: number, pageSize: number, sortOrder: ERegistrySortOrder): ResultAsync; getRegistryByName(registryNames: RegistryName[]): ResultAsync, RegistryFactoryContractError | NonFungibleRegistryContractError | ProxyError>; getRegistryByAddress(registryAddresses: EthereumContractAddress[]): ResultAsync, RegistryFactoryContractError | NonFungibleRegistryContractError | ProxyError>; getRegistryEntries(registryName: RegistryName, pageNumber: number, pageSize: number, sortOrder: ERegistrySortOrder): ResultAsync; getRegistryEntryDetailByTokenId(registryName: RegistryName, tokenId: RegistryTokenId): ResultAsync; updateRegistryEntryTokenURI(registryName: RegistryName, tokenId: RegistryTokenId, registrationData: string): ResultAsync; updateRegistryEntryLabel(registryName: RegistryName, tokenId: RegistryTokenId, label: string): ResultAsync; getRegistryEntriesTotalCount(registryNames: RegistryName[]): ResultAsync, RegistryFactoryContractError | NonFungibleRegistryContractError | ProxyError>; getNumberOfRegistries(): ResultAsync; updateRegistryParams(registryParams: RegistryParams): ResultAsync; createRegistryEntry(registryName: RegistryName, newRegistryEntry: RegistryEntry): ResultAsync; transferRegistryEntry(registryName: RegistryName, tokenId: RegistryTokenId, transferToAddress: EthereumAccountAddress): ResultAsync; burnRegistryEntry(registryName: RegistryName, tokenId: RegistryTokenId): ResultAsync; createRegistryByToken(name: string, symbol: string, registrarAddress: EthereumAccountAddress, enumerable: boolean): ResultAsync; grantRegistrarRole(registryName: RegistryName, address: EthereumAccountAddress | EthereumContractAddress): ResultAsync; revokeRegistrarRole(registryName: RegistryName, address: EthereumAccountAddress | EthereumContractAddress): ResultAsync; renounceRegistrarRole(registryName: RegistryName, address: EthereumAccountAddress | EthereumContractAddress): ResultAsync; getRegistryEntryByOwnerAddress(registryName: RegistryName, ownerAddress: EthereumAccountAddress, index: number): ResultAsync; getRegistryModules(): ResultAsync; createBatchRegistryEntry(registryName: RegistryName, newRegistryEntries: RegistryEntry[]): ResultAsync; getRegistryEntryListByOwnerAddress(registryName: RegistryName, ownerAddress: EthereumAccountAddress): ResultAsync; submitLazyMintSignature(registryName: RegistryName, tokenId: RegistryTokenId, ownerAddress: EthereumAccountAddress, registrationData: string): ResultAsync; getRegistryEntryListByUsername(registryName: RegistryName, username: string): ResultAsync; retrieveLazyMintingSignatures(): ResultAsync; executeLazyMint(lazyMintingSignature: LazyMintingSignature): ResultAsync; revokeLazyMintSignature(lazyMintingSignature: LazyMintingSignature): ResultAsync; } //# sourceMappingURL=IHypernetRegistries.d.ts.map