import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 declare namespace AdaptiveFee {
    type ConfigurationStruct = {
        alpha1: PromiseOrValue<BigNumberish>;
        alpha2: PromiseOrValue<BigNumberish>;
        beta1: PromiseOrValue<BigNumberish>;
        beta2: PromiseOrValue<BigNumberish>;
        gamma1: PromiseOrValue<BigNumberish>;
        gamma2: PromiseOrValue<BigNumberish>;
        volumeBeta: PromiseOrValue<BigNumberish>;
        volumeGamma: PromiseOrValue<BigNumberish>;
        baseFee: PromiseOrValue<BigNumberish>;
    };
    type ConfigurationStructOutput = [
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number
    ] & {
        alpha1: number;
        alpha2: number;
        beta1: number;
        beta2: number;
        gamma1: number;
        gamma2: number;
        volumeBeta: number;
        volumeGamma: number;
        baseFee: number;
    };
}
export interface IDataStorageOperatorInterface extends utils.Interface {
    functions: {
        "calculateVolumePerLiquidity(uint128,int256,int256)": FunctionFragment;
        "changeFeeConfiguration((uint16,uint16,uint32,uint32,uint16,uint16,uint32,uint16,uint16))": FunctionFragment;
        "getAverages(uint32,int24,uint16,uint128)": FunctionFragment;
        "getFee(uint32,int24,uint16,uint128)": FunctionFragment;
        "getSingleTimepoint(uint32,uint32,int24,uint16,uint128)": FunctionFragment;
        "getTimepoints(uint32,uint32[],int24,uint16,uint128)": FunctionFragment;
        "initialize(uint32,int24)": FunctionFragment;
        "timepoints(uint256)": FunctionFragment;
        "window()": FunctionFragment;
        "write(uint16,uint32,int24,uint128,uint128)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "calculateVolumePerLiquidity" | "changeFeeConfiguration" | "getAverages" | "getFee" | "getSingleTimepoint" | "getTimepoints" | "initialize" | "timepoints" | "window" | "write"): FunctionFragment;
    encodeFunctionData(functionFragment: "calculateVolumePerLiquidity", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "changeFeeConfiguration", values: [AdaptiveFee.ConfigurationStruct]): string;
    encodeFunctionData(functionFragment: "getAverages", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getFee", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getSingleTimepoint", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "getTimepoints", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>[],
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "initialize", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "timepoints", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "window", values?: undefined): string;
    encodeFunctionData(functionFragment: "write", values: [
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    decodeFunctionResult(functionFragment: "calculateVolumePerLiquidity", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "changeFeeConfiguration", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAverages", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getFee", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getSingleTimepoint", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getTimepoints", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "timepoints", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "window", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "write", data: BytesLike): Result;
    events: {
        "FeeConfiguration(tuple)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "FeeConfiguration"): EventFragment;
}
export interface FeeConfigurationEventObject {
    feeConfig: AdaptiveFee.ConfigurationStructOutput;
}
export type FeeConfigurationEvent = TypedEvent<[
    AdaptiveFee.ConfigurationStructOutput
], FeeConfigurationEventObject>;
export type FeeConfigurationEventFilter = TypedEventFilter<FeeConfigurationEvent>;
export interface IDataStorageOperator extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IDataStorageOperatorInterface;
    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: {
        calculateVolumePerLiquidity(liquidity: PromiseOrValue<BigNumberish>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
            volumePerLiquidity: BigNumber;
        }>;
        changeFeeConfiguration(feeConfig: AdaptiveFee.ConfigurationStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getAverages(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber
        ] & {
            TWVolatilityAverage: BigNumber;
            TWVolumePerLiqAverage: BigNumber;
        }>;
        getFee(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[number] & {
            fee: number;
        }>;
        getSingleTimepoint(time: PromiseOrValue<BigNumberish>, secondsAgo: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            tickCumulative: BigNumber;
            secondsPerLiquidityCumulative: BigNumber;
            volatilityCumulative: BigNumber;
            volumePerAvgLiquidity: BigNumber;
        }>;
        getTimepoints(time: PromiseOrValue<BigNumberish>, secondsAgos: PromiseOrValue<BigNumberish>[], tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber[],
            BigNumber[],
            BigNumber[],
            BigNumber[]
        ] & {
            tickCumulatives: BigNumber[];
            secondsPerLiquidityCumulatives: BigNumber[];
            volatilityCumulatives: BigNumber[];
            volumePerAvgLiquiditys: BigNumber[];
        }>;
        initialize(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        timepoints(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            boolean,
            number,
            BigNumber,
            BigNumber,
            BigNumber,
            number,
            BigNumber
        ] & {
            initialized: boolean;
            blockTimestamp: number;
            tickCumulative: BigNumber;
            secondsPerLiquidityCumulative: BigNumber;
            volatilityCumulative: BigNumber;
            averageTick: number;
            volumePerLiquidityCumulative: BigNumber;
        }>;
        window(overrides?: CallOverrides): Promise<[number] & {
            windowLength: number;
        }>;
        write(index: PromiseOrValue<BigNumberish>, blockTimestamp: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, volumePerLiquidity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    calculateVolumePerLiquidity(liquidity: PromiseOrValue<BigNumberish>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    changeFeeConfiguration(feeConfig: AdaptiveFee.ConfigurationStruct, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getAverages(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber
    ] & {
        TWVolatilityAverage: BigNumber;
        TWVolumePerLiqAverage: BigNumber;
    }>;
    getFee(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<number>;
    getSingleTimepoint(time: PromiseOrValue<BigNumberish>, secondsAgo: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        tickCumulative: BigNumber;
        secondsPerLiquidityCumulative: BigNumber;
        volatilityCumulative: BigNumber;
        volumePerAvgLiquidity: BigNumber;
    }>;
    getTimepoints(time: PromiseOrValue<BigNumberish>, secondsAgos: PromiseOrValue<BigNumberish>[], tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        BigNumber[],
        BigNumber[],
        BigNumber[],
        BigNumber[]
    ] & {
        tickCumulatives: BigNumber[];
        secondsPerLiquidityCumulatives: BigNumber[];
        volatilityCumulatives: BigNumber[];
        volumePerAvgLiquiditys: BigNumber[];
    }>;
    initialize(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    timepoints(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
        boolean,
        number,
        BigNumber,
        BigNumber,
        BigNumber,
        number,
        BigNumber
    ] & {
        initialized: boolean;
        blockTimestamp: number;
        tickCumulative: BigNumber;
        secondsPerLiquidityCumulative: BigNumber;
        volatilityCumulative: BigNumber;
        averageTick: number;
        volumePerLiquidityCumulative: BigNumber;
    }>;
    window(overrides?: CallOverrides): Promise<number>;
    write(index: PromiseOrValue<BigNumberish>, blockTimestamp: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, volumePerLiquidity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        calculateVolumePerLiquidity(liquidity: PromiseOrValue<BigNumberish>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        changeFeeConfiguration(feeConfig: AdaptiveFee.ConfigurationStruct, overrides?: CallOverrides): Promise<void>;
        getAverages(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber
        ] & {
            TWVolatilityAverage: BigNumber;
            TWVolumePerLiqAverage: BigNumber;
        }>;
        getFee(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<number>;
        getSingleTimepoint(time: PromiseOrValue<BigNumberish>, secondsAgo: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            tickCumulative: BigNumber;
            secondsPerLiquidityCumulative: BigNumber;
            volatilityCumulative: BigNumber;
            volumePerAvgLiquidity: BigNumber;
        }>;
        getTimepoints(time: PromiseOrValue<BigNumberish>, secondsAgos: PromiseOrValue<BigNumberish>[], tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            BigNumber[],
            BigNumber[],
            BigNumber[],
            BigNumber[]
        ] & {
            tickCumulatives: BigNumber[];
            secondsPerLiquidityCumulatives: BigNumber[];
            volatilityCumulatives: BigNumber[];
            volumePerAvgLiquiditys: BigNumber[];
        }>;
        initialize(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        timepoints(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
            boolean,
            number,
            BigNumber,
            BigNumber,
            BigNumber,
            number,
            BigNumber
        ] & {
            initialized: boolean;
            blockTimestamp: number;
            tickCumulative: BigNumber;
            secondsPerLiquidityCumulative: BigNumber;
            volatilityCumulative: BigNumber;
            averageTick: number;
            volumePerLiquidityCumulative: BigNumber;
        }>;
        window(overrides?: CallOverrides): Promise<number>;
        write(index: PromiseOrValue<BigNumberish>, blockTimestamp: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, volumePerLiquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<number>;
    };
    filters: {
        "FeeConfiguration(tuple)"(feeConfig?: null): FeeConfigurationEventFilter;
        FeeConfiguration(feeConfig?: null): FeeConfigurationEventFilter;
    };
    estimateGas: {
        calculateVolumePerLiquidity(liquidity: PromiseOrValue<BigNumberish>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        changeFeeConfiguration(feeConfig: AdaptiveFee.ConfigurationStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getAverages(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getFee(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getSingleTimepoint(time: PromiseOrValue<BigNumberish>, secondsAgo: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        getTimepoints(time: PromiseOrValue<BigNumberish>, secondsAgos: PromiseOrValue<BigNumberish>[], tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        initialize(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        timepoints(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        window(overrides?: CallOverrides): Promise<BigNumber>;
        write(index: PromiseOrValue<BigNumberish>, blockTimestamp: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, volumePerLiquidity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        calculateVolumePerLiquidity(liquidity: PromiseOrValue<BigNumberish>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        changeFeeConfiguration(feeConfig: AdaptiveFee.ConfigurationStruct, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getAverages(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getFee(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getSingleTimepoint(time: PromiseOrValue<BigNumberish>, secondsAgo: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getTimepoints(time: PromiseOrValue<BigNumberish>, secondsAgos: PromiseOrValue<BigNumberish>[], tick: PromiseOrValue<BigNumberish>, index: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        initialize(time: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        timepoints(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        window(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        write(index: PromiseOrValue<BigNumberish>, blockTimestamp: PromiseOrValue<BigNumberish>, tick: PromiseOrValue<BigNumberish>, liquidity: PromiseOrValue<BigNumberish>, volumePerLiquidity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
