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 type WithdrawRecordStruct = {
    timestamp: PromiseOrValue<BigNumberish>;
    shares: PromiseOrValue<BigNumberish>;
    value: PromiseOrValue<BigNumberish>;
};
export type WithdrawRecordStructOutput = [BigNumber, BigNumber, BigNumber] & {
    timestamp: BigNumber;
    shares: BigNumber;
    value: BigNumber;
};
export interface BatchedWithdrawInterface extends utils.Interface {
    functions: {
        "cancelRedeem()": FunctionFragment;
        "convertToAssets(uint256)": FunctionFragment;
        "convertToShares(uint256)": FunctionFragment;
        "epochType()": FunctionFragment;
        "getPenalty()": FunctionFragment;
        "getWithdrawStatus(address)": FunctionFragment;
        "lastHarvestTimestamp()": FunctionFragment;
        "pendingRedeem()": FunctionFragment;
        "redeemIsReady(address)": FunctionFragment;
        "requestRedeem(uint256,address)": FunctionFragment;
        "requestRedeem(uint256)": FunctionFragment;
        "requestedRedeem()": FunctionFragment;
        "totalAssets()": FunctionFragment;
        "totalSupply()": FunctionFragment;
        "withdrawLedger(address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "cancelRedeem" | "convertToAssets" | "convertToShares" | "epochType" | "getPenalty" | "getWithdrawStatus" | "lastHarvestTimestamp" | "pendingRedeem" | "redeemIsReady" | "requestRedeem(uint256,address)" | "requestRedeem(uint256)" | "requestedRedeem" | "totalAssets" | "totalSupply" | "withdrawLedger"): FunctionFragment;
    encodeFunctionData(functionFragment: "cancelRedeem", values?: undefined): string;
    encodeFunctionData(functionFragment: "convertToAssets", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "convertToShares", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "epochType", values?: undefined): string;
    encodeFunctionData(functionFragment: "getPenalty", values?: undefined): string;
    encodeFunctionData(functionFragment: "getWithdrawStatus", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "lastHarvestTimestamp", values?: undefined): string;
    encodeFunctionData(functionFragment: "pendingRedeem", values?: undefined): string;
    encodeFunctionData(functionFragment: "redeemIsReady", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "requestRedeem(uint256,address)", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "requestRedeem(uint256)", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "requestedRedeem", values?: undefined): string;
    encodeFunctionData(functionFragment: "totalAssets", values?: undefined): string;
    encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
    encodeFunctionData(functionFragment: "withdrawLedger", values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: "cancelRedeem", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "convertToAssets", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "convertToShares", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "epochType", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPenalty", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getWithdrawStatus", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "lastHarvestTimestamp", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pendingRedeem", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "redeemIsReady", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "requestRedeem(uint256,address)", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "requestRedeem(uint256)", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "requestedRedeem", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "totalAssets", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdrawLedger", data: BytesLike): Result;
    events: {
        "RequestWithdraw(address,address,uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "RequestWithdraw"): EventFragment;
}
export interface RequestWithdrawEventObject {
    caller: string;
    owner: string;
    shares: BigNumber;
}
export type RequestWithdrawEvent = TypedEvent<[
    string,
    string,
    BigNumber
], RequestWithdrawEventObject>;
export type RequestWithdrawEventFilter = TypedEventFilter<RequestWithdrawEvent>;
export interface BatchedWithdraw extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: BatchedWithdrawInterface;
    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: {
        cancelRedeem(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        convertToAssets(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        convertToShares(assets: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        epochType(overrides?: CallOverrides): Promise<[number]>;
        getPenalty(overrides?: CallOverrides): Promise<[BigNumber]>;
        getWithdrawStatus(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[WithdrawRecordStructOutput]>;
        lastHarvestTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>;
        pendingRedeem(overrides?: CallOverrides): Promise<[BigNumber]>;
        redeemIsReady(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        "requestRedeem(uint256,address)"(shares: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        "requestRedeem(uint256)"(shares: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        requestedRedeem(overrides?: CallOverrides): Promise<[BigNumber]>;
        totalAssets(overrides?: CallOverrides): Promise<[BigNumber]>;
        totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
        withdrawLedger(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            timestamp: BigNumber;
            shares: BigNumber;
            value: BigNumber;
        }>;
    };
    cancelRedeem(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    convertToAssets(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    convertToShares(assets: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    epochType(overrides?: CallOverrides): Promise<number>;
    getPenalty(overrides?: CallOverrides): Promise<BigNumber>;
    getWithdrawStatus(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<WithdrawRecordStructOutput>;
    lastHarvestTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
    pendingRedeem(overrides?: CallOverrides): Promise<BigNumber>;
    redeemIsReady(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    "requestRedeem(uint256,address)"(shares: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    "requestRedeem(uint256)"(shares: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    requestedRedeem(overrides?: CallOverrides): Promise<BigNumber>;
    totalAssets(overrides?: CallOverrides): Promise<BigNumber>;
    totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
    withdrawLedger(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        timestamp: BigNumber;
        shares: BigNumber;
        value: BigNumber;
    }>;
    callStatic: {
        cancelRedeem(overrides?: CallOverrides): Promise<void>;
        convertToAssets(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        convertToShares(assets: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        epochType(overrides?: CallOverrides): Promise<number>;
        getPenalty(overrides?: CallOverrides): Promise<BigNumber>;
        getWithdrawStatus(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<WithdrawRecordStructOutput>;
        lastHarvestTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
        pendingRedeem(overrides?: CallOverrides): Promise<BigNumber>;
        redeemIsReady(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        "requestRedeem(uint256,address)"(shares: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        "requestRedeem(uint256)"(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        requestedRedeem(overrides?: CallOverrides): Promise<BigNumber>;
        totalAssets(overrides?: CallOverrides): Promise<BigNumber>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        withdrawLedger(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            timestamp: BigNumber;
            shares: BigNumber;
            value: BigNumber;
        }>;
    };
    filters: {
        "RequestWithdraw(address,address,uint256)"(caller?: PromiseOrValue<string> | null, owner?: PromiseOrValue<string> | null, shares?: null): RequestWithdrawEventFilter;
        RequestWithdraw(caller?: PromiseOrValue<string> | null, owner?: PromiseOrValue<string> | null, shares?: null): RequestWithdrawEventFilter;
    };
    estimateGas: {
        cancelRedeem(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        convertToAssets(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        convertToShares(assets: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        epochType(overrides?: CallOverrides): Promise<BigNumber>;
        getPenalty(overrides?: CallOverrides): Promise<BigNumber>;
        getWithdrawStatus(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        lastHarvestTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
        pendingRedeem(overrides?: CallOverrides): Promise<BigNumber>;
        redeemIsReady(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        "requestRedeem(uint256,address)"(shares: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        "requestRedeem(uint256)"(shares: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        requestedRedeem(overrides?: CallOverrides): Promise<BigNumber>;
        totalAssets(overrides?: CallOverrides): Promise<BigNumber>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        withdrawLedger(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        cancelRedeem(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        convertToAssets(shares: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        convertToShares(assets: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        epochType(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPenalty(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getWithdrawStatus(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        lastHarvestTimestamp(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingRedeem(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        redeemIsReady(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        "requestRedeem(uint256,address)"(shares: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        "requestRedeem(uint256)"(shares: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        requestedRedeem(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalAssets(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        withdrawLedger(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
