import { providers, Signer } from 'ethers'; import { Curation } from '@graphprotocol/contracts/dist/types/Curation'; import { DisputeManager } from '@graphprotocol/contracts/dist/types/DisputeManager'; import { EpochManager } from '@graphprotocol/contracts/dist/types/EpochManager'; import { GNS } from '@graphprotocol/contracts/dist/types/GNS'; import { RewardsManager } from '@graphprotocol/contracts/dist/types/RewardsManager'; import { ServiceRegistry } from '@graphprotocol/contracts/dist/types/ServiceRegistry'; import { IL1Staking } from '@graphprotocol/contracts/dist/types/IL1Staking'; import { IL2Staking } from '@graphprotocol/contracts/dist/types/IL2Staking'; import { GraphToken } from '@graphprotocol/contracts/dist/types/GraphToken'; import { Controller } from '@graphprotocol/contracts/dist/types/Controller'; import { AllocationExchange } from '@graphprotocol/contracts/dist/types/AllocationExchange'; import { GraphProxyAdmin } from '@graphprotocol/contracts/dist/types/GraphProxyAdmin'; import { SubgraphNFT } from '@graphprotocol/contracts/dist/types/SubgraphNFT'; import { GraphCurationToken } from '@graphprotocol/contracts/dist/types/GraphCurationToken'; import { L1GraphTokenGateway } from '@graphprotocol/contracts/dist/types/L1GraphTokenGateway'; import { BridgeEscrow } from '@graphprotocol/contracts/dist/types/BridgeEscrow'; import { L2GraphToken } from '@graphprotocol/contracts/dist/types/L2GraphToken'; import { L2GraphTokenGateway } from '@graphprotocol/contracts/dist/types/L2GraphTokenGateway'; import { L2Curation } from '@graphprotocol/contracts/dist/types/L2Curation'; export declare const GraphChain: { l1Chains: number[]; l2Chains: number[]; chains: number[]; isL1: (chainId: number) => boolean; isL2: (chainId: number) => boolean; isSupported: (chainId: number | undefined) => boolean; l1ToL2: (chainId: number) => number | undefined; l2ToL1: (chainId: number) => number | undefined; counterpart: (chainId: number) => number | undefined; }; export interface NetworkContracts { curation: Curation | L2Curation; disputeManager: DisputeManager; epochManager: EpochManager; gns: GNS; rewardsManager: RewardsManager; serviceRegistry: ServiceRegistry; staking: IL1Staking | IL2Staking; token: GraphToken | L2GraphToken; controller: Controller; allocationExchange: AllocationExchange; graphProxyAdmin: GraphProxyAdmin; subgraphNFT: SubgraphNFT; graphCurationToken: GraphCurationToken; l1GraphTokenGateway?: L1GraphTokenGateway; bridgeEscrow?: BridgeEscrow; l2GraphTokenGateway?: L2GraphTokenGateway; } export type AddressBook = { [key: string]: { [key: string]: { address: string; }; }; }; export declare const connectContracts: (providerOrSigner: providers.Provider | Signer, chainId: number, addressBook: AddressBook | undefined) => Promise;