import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
export declare namespace PythOracle {
    type TokenConfigStruct = {
        pythId: PromiseOrValue<BytesLike>;
        asset: PromiseOrValue<string>;
        maxStalePeriod: PromiseOrValue<BigNumberish>;
    };
    type TokenConfigStructOutput = [string, string, BigNumber] & {
        pythId: string;
        asset: string;
        maxStalePeriod: BigNumber;
    };
}
export interface PythOracleInterface extends utils.Interface {
    functions: {
        "BNB_ADDR()": FunctionFragment;
        "EXP_SCALE()": FunctionFragment;
        "acceptOwnership()": FunctionFragment;
        "accessControlManager()": FunctionFragment;
        "getPrice(address)": FunctionFragment;
        "initialize(address,address)": FunctionFragment;
        "owner()": FunctionFragment;
        "pendingOwner()": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "setAccessControlManager(address)": FunctionFragment;
        "setTokenConfig((bytes32,address,uint64))": FunctionFragment;
        "setTokenConfigs((bytes32,address,uint64)[])": FunctionFragment;
        "setUnderlyingPythOracle(address)": FunctionFragment;
        "tokenConfigs(address)": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
        "underlyingPythOracle()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "BNB_ADDR" | "EXP_SCALE" | "acceptOwnership" | "accessControlManager" | "getPrice" | "initialize" | "owner" | "pendingOwner" | "renounceOwnership" | "setAccessControlManager" | "setTokenConfig" | "setTokenConfigs" | "setUnderlyingPythOracle" | "tokenConfigs" | "transferOwnership" | "underlyingPythOracle"): FunctionFragment;
    encodeFunctionData(functionFragment: "BNB_ADDR", values?: undefined): string;
    encodeFunctionData(functionFragment: "EXP_SCALE", values?: undefined): string;
    encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "accessControlManager", values?: undefined): string;
    encodeFunctionData(functionFragment: "getPrice", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "initialize", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "setAccessControlManager", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "setTokenConfig", values: [PythOracle.TokenConfigStruct]): string;
    encodeFunctionData(functionFragment: "setTokenConfigs", values: [PythOracle.TokenConfigStruct[]]): string;
    encodeFunctionData(functionFragment: "setUnderlyingPythOracle", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "tokenConfigs", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "underlyingPythOracle", values?: undefined): string;
    decodeFunctionResult(functionFragment: "BNB_ADDR", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "EXP_SCALE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "accessControlManager", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPrice", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setAccessControlManager", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setTokenConfig", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setTokenConfigs", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setUnderlyingPythOracle", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "tokenConfigs", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "underlyingPythOracle", data: BytesLike): Result;
    events: {
        "Initialized(uint8)": EventFragment;
        "NewAccessControlManager(address,address)": EventFragment;
        "OwnershipTransferStarted(address,address)": EventFragment;
        "OwnershipTransferred(address,address)": EventFragment;
        "PythOracleSet(address,address)": EventFragment;
        "TokenConfigAdded(address,bytes32,uint64)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "NewAccessControlManager"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "PythOracleSet"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "TokenConfigAdded"): EventFragment;
}
export interface InitializedEventObject {
    version: number;
}
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
export interface NewAccessControlManagerEventObject {
    oldAccessControlManager: string;
    newAccessControlManager: string;
}
export type NewAccessControlManagerEvent = TypedEvent<[
    string,
    string
], NewAccessControlManagerEventObject>;
export type NewAccessControlManagerEventFilter = TypedEventFilter<NewAccessControlManagerEvent>;
export interface OwnershipTransferStartedEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferStartedEvent = TypedEvent<[
    string,
    string
], OwnershipTransferStartedEventObject>;
export type OwnershipTransferStartedEventFilter = TypedEventFilter<OwnershipTransferStartedEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], OwnershipTransferredEventObject>;
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface PythOracleSetEventObject {
    oldPythOracle: string;
    newPythOracle: string;
}
export type PythOracleSetEvent = TypedEvent<[
    string,
    string
], PythOracleSetEventObject>;
export type PythOracleSetEventFilter = TypedEventFilter<PythOracleSetEvent>;
export interface TokenConfigAddedEventObject {
    asset: string;
    pythId: string;
    maxStalePeriod: BigNumber;
}
export type TokenConfigAddedEvent = TypedEvent<[
    string,
    string,
    BigNumber
], TokenConfigAddedEventObject>;
export type TokenConfigAddedEventFilter = TypedEventFilter<TokenConfigAddedEvent>;
export interface PythOracle extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: PythOracleInterface;
    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: {
        BNB_ADDR(overrides?: CallOverrides): Promise<[string]>;
        EXP_SCALE(overrides?: CallOverrides): Promise<[BigNumber]>;
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        accessControlManager(overrides?: CallOverrides): Promise<[string]>;
        getPrice(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        initialize(underlyingPythOracle_: PromiseOrValue<string>, accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        pendingOwner(overrides?: CallOverrides): Promise<[string]>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setAccessControlManager(accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setTokenConfig(tokenConfig: PythOracle.TokenConfigStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setTokenConfigs(tokenConfigs_: PythOracle.TokenConfigStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setUnderlyingPythOracle(underlyingPythOracle_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        tokenConfigs(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            string,
            string,
            BigNumber
        ] & {
            pythId: string;
            asset: string;
            maxStalePeriod: BigNumber;
        }>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        underlyingPythOracle(overrides?: CallOverrides): Promise<[string]>;
    };
    BNB_ADDR(overrides?: CallOverrides): Promise<string>;
    EXP_SCALE(overrides?: CallOverrides): Promise<BigNumber>;
    acceptOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    accessControlManager(overrides?: CallOverrides): Promise<string>;
    getPrice(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    initialize(underlyingPythOracle_: PromiseOrValue<string>, accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    owner(overrides?: CallOverrides): Promise<string>;
    pendingOwner(overrides?: CallOverrides): Promise<string>;
    renounceOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setAccessControlManager(accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setTokenConfig(tokenConfig: PythOracle.TokenConfigStruct, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setTokenConfigs(tokenConfigs_: PythOracle.TokenConfigStruct[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setUnderlyingPythOracle(underlyingPythOracle_: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    tokenConfigs(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
        string,
        string,
        BigNumber
    ] & {
        pythId: string;
        asset: string;
        maxStalePeriod: BigNumber;
    }>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    underlyingPythOracle(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        BNB_ADDR(overrides?: CallOverrides): Promise<string>;
        EXP_SCALE(overrides?: CallOverrides): Promise<BigNumber>;
        acceptOwnership(overrides?: CallOverrides): Promise<void>;
        accessControlManager(overrides?: CallOverrides): Promise<string>;
        getPrice(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(underlyingPythOracle_: PromiseOrValue<string>, accessControlManager_: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        owner(overrides?: CallOverrides): Promise<string>;
        pendingOwner(overrides?: CallOverrides): Promise<string>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        setAccessControlManager(accessControlManager_: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        setTokenConfig(tokenConfig: PythOracle.TokenConfigStruct, overrides?: CallOverrides): Promise<void>;
        setTokenConfigs(tokenConfigs_: PythOracle.TokenConfigStruct[], overrides?: CallOverrides): Promise<void>;
        setUnderlyingPythOracle(underlyingPythOracle_: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        tokenConfigs(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            string,
            string,
            BigNumber
        ] & {
            pythId: string;
            asset: string;
            maxStalePeriod: BigNumber;
        }>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        underlyingPythOracle(overrides?: CallOverrides): Promise<string>;
    };
    filters: {
        "Initialized(uint8)"(version?: null): InitializedEventFilter;
        Initialized(version?: null): InitializedEventFilter;
        "NewAccessControlManager(address,address)"(oldAccessControlManager?: null, newAccessControlManager?: null): NewAccessControlManagerEventFilter;
        NewAccessControlManager(oldAccessControlManager?: null, newAccessControlManager?: null): NewAccessControlManagerEventFilter;
        "OwnershipTransferStarted(address,address)"(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferStartedEventFilter;
        OwnershipTransferStarted(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferStartedEventFilter;
        "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        "PythOracleSet(address,address)"(oldPythOracle?: PromiseOrValue<string> | null, newPythOracle?: PromiseOrValue<string> | null): PythOracleSetEventFilter;
        PythOracleSet(oldPythOracle?: PromiseOrValue<string> | null, newPythOracle?: PromiseOrValue<string> | null): PythOracleSetEventFilter;
        "TokenConfigAdded(address,bytes32,uint64)"(asset?: PromiseOrValue<string> | null, pythId?: PromiseOrValue<BytesLike> | null, maxStalePeriod?: PromiseOrValue<BigNumberish> | null): TokenConfigAddedEventFilter;
        TokenConfigAdded(asset?: PromiseOrValue<string> | null, pythId?: PromiseOrValue<BytesLike> | null, maxStalePeriod?: PromiseOrValue<BigNumberish> | null): TokenConfigAddedEventFilter;
    };
    estimateGas: {
        BNB_ADDR(overrides?: CallOverrides): Promise<BigNumber>;
        EXP_SCALE(overrides?: CallOverrides): Promise<BigNumber>;
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        accessControlManager(overrides?: CallOverrides): Promise<BigNumber>;
        getPrice(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(underlyingPythOracle_: PromiseOrValue<string>, accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setAccessControlManager(accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setTokenConfig(tokenConfig: PythOracle.TokenConfigStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setTokenConfigs(tokenConfigs_: PythOracle.TokenConfigStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setUnderlyingPythOracle(underlyingPythOracle_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        tokenConfigs(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        underlyingPythOracle(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        BNB_ADDR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        EXP_SCALE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        accessControlManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPrice(asset: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        initialize(underlyingPythOracle_: PromiseOrValue<string>, accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setAccessControlManager(accessControlManager_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setTokenConfig(tokenConfig: PythOracle.TokenConfigStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setTokenConfigs(tokenConfigs_: PythOracle.TokenConfigStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setUnderlyingPythOracle(underlyingPythOracle_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        tokenConfigs(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        underlyingPythOracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=PythOracle.d.ts.map