import { SubgraphClient, SubgraphDeployment } from '@graphprotocol/indexer-common'; import { Logger, Address } from '@graphprotocol/common-ts'; export interface Allocation { id: Address; status: AllocationStatus; isLegacy: boolean; subgraphDeployment: SubgraphDeployment; indexer: Address; allocatedTokens: bigint; createdAt: number; createdAtEpoch: number; createdAtBlockHash: string; closedAt: number; closedAtEpoch: number; closedAtEpochStartBlockHash: string | undefined; previousEpochStartBlockHash: string | undefined; closedAtBlockHash: string; poi: string | undefined; queryFeeRebates: bigint | undefined; queryFeesCollected: bigint | undefined; } export interface Provision { id: Address; dataService: Address; indexer: Address; tokensProvisioned: bigint; tokensAllocated: bigint; tokensThawing: bigint; maxVerifierCut: bigint; thawingPeriod: bigint; } export declare enum AllocationStatus { NULL = "Null", ACTIVE = "Active", CLOSED = "Closed", FINALIZED = "Finalized", CLAIMED = "Claimed" } export interface MonitorEligibleAllocationsOptions { indexer: Address; logger: Logger; networkSubgraph: SubgraphClient; interval: number; protocolNetwork: string; }