import type { BaseContract, BigNumber, 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 interface KwentaAccountResolverInterface extends utils.Interface {
    functions: {
        'accounts(address)': FunctionFragment;
        'canUpgrade()': FunctionFragment;
        'getAccountOwner(address)': FunctionFragment;
        'getAccountsOwnedBy(address)': FunctionFragment;
        'implementation()': FunctionFragment;
        'newAccount()': FunctionFragment;
        'owner()': FunctionFragment;
        'removeUpgradability()': FunctionFragment;
        'transferOwnership(address)': FunctionFragment;
        'updateAccountOwnership(address,address)': FunctionFragment;
        'upgradeAccountImplementation(address)': FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: 'accounts' | 'canUpgrade' | 'getAccountOwner' | 'getAccountsOwnedBy' | 'implementation' | 'newAccount' | 'owner' | 'removeUpgradability' | 'transferOwnership' | 'updateAccountOwnership' | 'upgradeAccountImplementation'): FunctionFragment;
    encodeFunctionData(functionFragment: 'accounts', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'canUpgrade', values?: undefined): string;
    encodeFunctionData(functionFragment: 'getAccountOwner', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'getAccountsOwnedBy', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'implementation', values?: undefined): string;
    encodeFunctionData(functionFragment: 'newAccount', values?: undefined): string;
    encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
    encodeFunctionData(functionFragment: 'removeUpgradability', values?: undefined): string;
    encodeFunctionData(functionFragment: 'transferOwnership', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'updateAccountOwnership', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'upgradeAccountImplementation', values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: 'accounts', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'canUpgrade', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getAccountOwner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'getAccountsOwnedBy', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'implementation', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'newAccount', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'removeUpgradability', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'updateAccountOwnership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'upgradeAccountImplementation', data: BytesLike): Result;
    events: {
        'AccountImplementationUpgraded(address)': EventFragment;
        'NewAccount(address,address,bytes32)': EventFragment;
        'OwnershipTransferred(address,address)': EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: 'AccountImplementationUpgraded'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'NewAccount'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'OwnershipTransferred'): EventFragment;
}
export interface AccountImplementationUpgradedEventObject {
    implementation: string;
}
export declare type AccountImplementationUpgradedEvent = TypedEvent<[string], AccountImplementationUpgradedEventObject>;
export declare type AccountImplementationUpgradedEventFilter = TypedEventFilter<AccountImplementationUpgradedEvent>;
export interface NewAccountEventObject {
    creator: string;
    account: string;
    version: string;
}
export declare type NewAccountEvent = TypedEvent<[string, string, string], NewAccountEventObject>;
export declare type NewAccountEventFilter = TypedEventFilter<NewAccountEvent>;
export interface OwnershipTransferredEventObject {
    user: string;
    newOwner: string;
}
export declare type OwnershipTransferredEvent = TypedEvent<[string, string], OwnershipTransferredEventObject>;
export declare type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface KwentaAccountResolver extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: KwentaAccountResolverInterface;
    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: {
        accounts(accounts: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean] & {
            exist: boolean;
        }>;
        canUpgrade(overrides?: CallOverrides): Promise<[boolean]>;
        getAccountOwner(_account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
        getAccountsOwnedBy(_owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string[]]>;
        implementation(overrides?: CallOverrides): Promise<[string]>;
        newAccount(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        removeUpgradability(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        updateAccountOwnership(_newOwner: PromiseOrValue<string>, _oldOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        upgradeAccountImplementation(_implementation: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    accounts(accounts: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    canUpgrade(overrides?: CallOverrides): Promise<boolean>;
    getAccountOwner(_account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
    getAccountsOwnedBy(_owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
    implementation(overrides?: CallOverrides): Promise<string>;
    newAccount(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    owner(overrides?: CallOverrides): Promise<string>;
    removeUpgradability(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    updateAccountOwnership(_newOwner: PromiseOrValue<string>, _oldOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    upgradeAccountImplementation(_implementation: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        accounts(accounts: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        canUpgrade(overrides?: CallOverrides): Promise<boolean>;
        getAccountOwner(_account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
        getAccountsOwnedBy(_owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string[]>;
        implementation(overrides?: CallOverrides): Promise<string>;
        newAccount(overrides?: CallOverrides): Promise<string>;
        owner(overrides?: CallOverrides): Promise<string>;
        removeUpgradability(overrides?: CallOverrides): Promise<void>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        updateAccountOwnership(_newOwner: PromiseOrValue<string>, _oldOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        upgradeAccountImplementation(_implementation: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        'AccountImplementationUpgraded(address)'(implementation?: null): AccountImplementationUpgradedEventFilter;
        AccountImplementationUpgraded(implementation?: null): AccountImplementationUpgradedEventFilter;
        'NewAccount(address,address,bytes32)'(creator?: PromiseOrValue<string> | null, account?: PromiseOrValue<string> | null, version?: null): NewAccountEventFilter;
        NewAccount(creator?: PromiseOrValue<string> | null, account?: PromiseOrValue<string> | null, version?: null): NewAccountEventFilter;
        'OwnershipTransferred(address,address)'(user?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(user?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
    };
    estimateGas: {
        accounts(accounts: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        canUpgrade(overrides?: CallOverrides): Promise<BigNumber>;
        getAccountOwner(_account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        getAccountsOwnedBy(_owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        implementation(overrides?: CallOverrides): Promise<BigNumber>;
        newAccount(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        removeUpgradability(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        updateAccountOwnership(_newOwner: PromiseOrValue<string>, _oldOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        upgradeAccountImplementation(_implementation: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        accounts(accounts: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        canUpgrade(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAccountOwner(_account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getAccountsOwnedBy(_owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        newAccount(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        removeUpgradability(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        updateAccountOwnership(_newOwner: PromiseOrValue<string>, _oldOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        upgradeAccountImplementation(_implementation: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
