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 IGovernedInterface extends utils.Interface {
    functions: {
        "acceptOwnership()": FunctionFragment;
        "governor()": FunctionFragment;
        "pendingGovernor()": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "acceptOwnership" | "governor" | "pendingGovernor" | "transferOwnership"): FunctionFragment;
    encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "governor", values?: undefined): string;
    encodeFunctionData(functionFragment: "pendingGovernor", values?: undefined): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pendingGovernor", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    events: {
        "NewOwnership(address,address)": EventFragment;
        "NewPendingOwnership(address,address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "NewOwnership"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "NewPendingOwnership"): EventFragment;
}
export interface NewOwnershipEventObject {
    from: string;
    to: string;
}
export type NewOwnershipEvent = TypedEvent<[
    string,
    string
], NewOwnershipEventObject>;
export type NewOwnershipEventFilter = TypedEventFilter<NewOwnershipEvent>;
export interface NewPendingOwnershipEventObject {
    from: string;
    to: string;
}
export type NewPendingOwnershipEvent = TypedEvent<[
    string,
    string
], NewPendingOwnershipEventObject>;
export type NewPendingOwnershipEventFilter = TypedEventFilter<NewPendingOwnershipEvent>;
export interface IGoverned extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IGovernedInterface;
    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: {
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        governor(overrides?: CallOverrides): Promise<[string]>;
        pendingGovernor(overrides?: CallOverrides): Promise<[string]>;
        transferOwnership(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    acceptOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    governor(overrides?: CallOverrides): Promise<string>;
    pendingGovernor(overrides?: CallOverrides): Promise<string>;
    transferOwnership(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        acceptOwnership(overrides?: CallOverrides): Promise<void>;
        governor(overrides?: CallOverrides): Promise<string>;
        pendingGovernor(overrides?: CallOverrides): Promise<string>;
        transferOwnership(newGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "NewOwnership(address,address)"(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): NewOwnershipEventFilter;
        NewOwnership(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): NewOwnershipEventFilter;
        "NewPendingOwnership(address,address)"(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): NewPendingOwnershipEventFilter;
        NewPendingOwnership(from?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): NewPendingOwnershipEventFilter;
    };
    estimateGas: {
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        governor(overrides?: CallOverrides): Promise<BigNumber>;
        pendingGovernor(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        acceptOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        governor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pendingGovernor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=IGoverned.d.ts.map