import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common";
export interface TimeManagerV5Interface extends utils.Interface {
    functions: {
        "SECONDS_PER_YEAR()": FunctionFragment;
        "blocksOrSecondsPerYear()": FunctionFragment;
        "getBlockNumberOrTimestamp()": FunctionFragment;
        "isTimeBased()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "SECONDS_PER_YEAR" | "blocksOrSecondsPerYear" | "getBlockNumberOrTimestamp" | "isTimeBased"): FunctionFragment;
    encodeFunctionData(functionFragment: "SECONDS_PER_YEAR", values?: undefined): string;
    encodeFunctionData(functionFragment: "blocksOrSecondsPerYear", values?: undefined): string;
    encodeFunctionData(functionFragment: "getBlockNumberOrTimestamp", values?: undefined): string;
    encodeFunctionData(functionFragment: "isTimeBased", values?: undefined): string;
    decodeFunctionResult(functionFragment: "SECONDS_PER_YEAR", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "blocksOrSecondsPerYear", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getBlockNumberOrTimestamp", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isTimeBased", data: BytesLike): Result;
    events: {
        "InitializeTimeManager(bool,uint256)": EventFragment;
        "SetBlocksPerYear(uint256,uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "InitializeTimeManager"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetBlocksPerYear"): EventFragment;
}
export interface InitializeTimeManagerEventObject {
    timebased: boolean;
    blocksOrSecondsPerYear: BigNumber;
}
export type InitializeTimeManagerEvent = TypedEvent<[
    boolean,
    BigNumber
], InitializeTimeManagerEventObject>;
export type InitializeTimeManagerEventFilter = TypedEventFilter<InitializeTimeManagerEvent>;
export interface SetBlocksPerYearEventObject {
    prevBlocksPerYear: BigNumber;
    newBlocksPerYear: BigNumber;
}
export type SetBlocksPerYearEvent = TypedEvent<[
    BigNumber,
    BigNumber
], SetBlocksPerYearEventObject>;
export type SetBlocksPerYearEventFilter = TypedEventFilter<SetBlocksPerYearEvent>;
export interface TimeManagerV5 extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: TimeManagerV5Interface;
    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: {
        SECONDS_PER_YEAR(overrides?: CallOverrides): Promise<[BigNumber]>;
        blocksOrSecondsPerYear(overrides?: CallOverrides): Promise<[BigNumber]>;
        getBlockNumberOrTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>;
        isTimeBased(overrides?: CallOverrides): Promise<[boolean]>;
    };
    SECONDS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
    blocksOrSecondsPerYear(overrides?: CallOverrides): Promise<BigNumber>;
    getBlockNumberOrTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
    isTimeBased(overrides?: CallOverrides): Promise<boolean>;
    callStatic: {
        SECONDS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
        blocksOrSecondsPerYear(overrides?: CallOverrides): Promise<BigNumber>;
        getBlockNumberOrTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
        isTimeBased(overrides?: CallOverrides): Promise<boolean>;
    };
    filters: {
        "InitializeTimeManager(bool,uint256)"(timebased?: PromiseOrValue<boolean> | null, blocksOrSecondsPerYear?: PromiseOrValue<BigNumberish> | null): InitializeTimeManagerEventFilter;
        InitializeTimeManager(timebased?: PromiseOrValue<boolean> | null, blocksOrSecondsPerYear?: PromiseOrValue<BigNumberish> | null): InitializeTimeManagerEventFilter;
        "SetBlocksPerYear(uint256,uint256)"(prevBlocksPerYear?: PromiseOrValue<BigNumberish> | null, newBlocksPerYear?: PromiseOrValue<BigNumberish> | null): SetBlocksPerYearEventFilter;
        SetBlocksPerYear(prevBlocksPerYear?: PromiseOrValue<BigNumberish> | null, newBlocksPerYear?: PromiseOrValue<BigNumberish> | null): SetBlocksPerYearEventFilter;
    };
    estimateGas: {
        SECONDS_PER_YEAR(overrides?: CallOverrides): Promise<BigNumber>;
        blocksOrSecondsPerYear(overrides?: CallOverrides): Promise<BigNumber>;
        getBlockNumberOrTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
        isTimeBased(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        SECONDS_PER_YEAR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        blocksOrSecondsPerYear(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getBlockNumberOrTimestamp(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isTimeBased(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
