import type { BaseContract, BigNumber, BytesLike, Signer, utils } from "ethers";
import type { EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common";
export interface IAllocationManagerInterface extends utils.Interface {
    functions: {};
    events: {
        "AllocationClosed(address,address,bytes32,uint256,bool)": EventFragment;
        "AllocationCreated(address,address,bytes32,uint256,uint256)": EventFragment;
        "AllocationResized(address,address,bytes32,uint256,uint256)": EventFragment;
        "IndexingRewardsCollected(address,address,bytes32,uint256,uint256,uint256,bytes32,bytes,uint256)": EventFragment;
        "LegacyAllocationMigrated(address,address,bytes32)": EventFragment;
        "MaxPOIStalenessSet(uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "AllocationClosed"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "AllocationCreated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "AllocationResized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "IndexingRewardsCollected"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "LegacyAllocationMigrated"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "MaxPOIStalenessSet"): EventFragment;
}
export interface AllocationClosedEventObject {
    indexer: string;
    allocationId: string;
    subgraphDeploymentId: string;
    tokens: BigNumber;
    forceClosed: boolean;
}
export type AllocationClosedEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    boolean
], AllocationClosedEventObject>;
export type AllocationClosedEventFilter = TypedEventFilter<AllocationClosedEvent>;
export interface AllocationCreatedEventObject {
    indexer: string;
    allocationId: string;
    subgraphDeploymentId: string;
    tokens: BigNumber;
    currentEpoch: BigNumber;
}
export type AllocationCreatedEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber
], AllocationCreatedEventObject>;
export type AllocationCreatedEventFilter = TypedEventFilter<AllocationCreatedEvent>;
export interface AllocationResizedEventObject {
    indexer: string;
    allocationId: string;
    subgraphDeploymentId: string;
    newTokens: BigNumber;
    oldTokens: BigNumber;
}
export type AllocationResizedEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber
], AllocationResizedEventObject>;
export type AllocationResizedEventFilter = TypedEventFilter<AllocationResizedEvent>;
export interface IndexingRewardsCollectedEventObject {
    indexer: string;
    allocationId: string;
    subgraphDeploymentId: string;
    tokensRewards: BigNumber;
    tokensIndexerRewards: BigNumber;
    tokensDelegationRewards: BigNumber;
    poi: string;
    poiMetadata: string;
    currentEpoch: BigNumber;
}
export type IndexingRewardsCollectedEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    string,
    BigNumber
], IndexingRewardsCollectedEventObject>;
export type IndexingRewardsCollectedEventFilter = TypedEventFilter<IndexingRewardsCollectedEvent>;
export interface LegacyAllocationMigratedEventObject {
    indexer: string;
    allocationId: string;
    subgraphDeploymentId: string;
}
export type LegacyAllocationMigratedEvent = TypedEvent<[
    string,
    string,
    string
], LegacyAllocationMigratedEventObject>;
export type LegacyAllocationMigratedEventFilter = TypedEventFilter<LegacyAllocationMigratedEvent>;
export interface MaxPOIStalenessSetEventObject {
    maxPOIStaleness: BigNumber;
}
export type MaxPOIStalenessSetEvent = TypedEvent<[
    BigNumber
], MaxPOIStalenessSetEventObject>;
export type MaxPOIStalenessSetEventFilter = TypedEventFilter<MaxPOIStalenessSetEvent>;
export interface IAllocationManager extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IAllocationManagerInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {};
    callStatic: {};
    filters: {
        "AllocationClosed(address,address,bytes32,uint256,bool)"(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokens?: null, forceClosed?: null): AllocationClosedEventFilter;
        AllocationClosed(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokens?: null, forceClosed?: null): AllocationClosedEventFilter;
        "AllocationCreated(address,address,bytes32,uint256,uint256)"(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokens?: null, currentEpoch?: null): AllocationCreatedEventFilter;
        AllocationCreated(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokens?: null, currentEpoch?: null): AllocationCreatedEventFilter;
        "AllocationResized(address,address,bytes32,uint256,uint256)"(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, newTokens?: null, oldTokens?: null): AllocationResizedEventFilter;
        AllocationResized(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, newTokens?: null, oldTokens?: null): AllocationResizedEventFilter;
        "IndexingRewardsCollected(address,address,bytes32,uint256,uint256,uint256,bytes32,bytes,uint256)"(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokensRewards?: null, tokensIndexerRewards?: null, tokensDelegationRewards?: null, poi?: null, poiMetadata?: null, currentEpoch?: null): IndexingRewardsCollectedEventFilter;
        IndexingRewardsCollected(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null, tokensRewards?: null, tokensIndexerRewards?: null, tokensDelegationRewards?: null, poi?: null, poiMetadata?: null, currentEpoch?: null): IndexingRewardsCollectedEventFilter;
        "LegacyAllocationMigrated(address,address,bytes32)"(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null): LegacyAllocationMigratedEventFilter;
        LegacyAllocationMigrated(indexer?: PromiseOrValue<string> | null, allocationId?: PromiseOrValue<string> | null, subgraphDeploymentId?: PromiseOrValue<BytesLike> | null): LegacyAllocationMigratedEventFilter;
        "MaxPOIStalenessSet(uint256)"(maxPOIStaleness?: null): MaxPOIStalenessSetEventFilter;
        MaxPOIStalenessSet(maxPOIStaleness?: null): MaxPOIStalenessSetEventFilter;
    };
    estimateGas: {};
    populateTransaction: {};
}
//# sourceMappingURL=IAllocationManager.d.ts.map