import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface IPendlePtOracleInterface extends utils.Interface {
    functions: {
        "getOracleState(address,uint32)": FunctionFragment;
        "getPtToAssetRate(address,uint32)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "getOracleState" | "getPtToAssetRate"): FunctionFragment;
    encodeFunctionData(functionFragment: "getOracleState", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "getPtToAssetRate", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "getOracleState", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPtToAssetRate", data: BytesLike): Result;
    events: {};
}
export interface IPendlePtOracle extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IPendlePtOracleInterface;
    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: {
        getOracleState(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            boolean,
            number,
            boolean
        ] & {
            increaseCardinalityRequired: boolean;
            cardinalityRequired: number;
            oldestObservationSatisfied: boolean;
        }>;
        getPtToAssetRate(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
    };
    getOracleState(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        boolean,
        number,
        boolean
    ] & {
        increaseCardinalityRequired: boolean;
        cardinalityRequired: number;
        oldestObservationSatisfied: boolean;
    }>;
    getPtToAssetRate(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    callStatic: {
        getOracleState(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            boolean,
            number,
            boolean
        ] & {
            increaseCardinalityRequired: boolean;
            cardinalityRequired: number;
            oldestObservationSatisfied: boolean;
        }>;
        getPtToAssetRate(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    filters: {};
    estimateGas: {
        getOracleState(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getPtToAssetRate(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        getOracleState(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPtToAssetRate(market: PromiseOrValue<string>, duration: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=IPendlePtOracle.d.ts.map