import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
export interface IAdvancedPolicyInterface extends Interface {
    getFunction(nameOrSignature: "enforce" | "setTarget" | "trait"): FunctionFragment;
    getEvent(nameOrSignatureOrTopic: "Enforced" | "TargetSet"): EventFragment;
    encodeFunctionData(functionFragment: "enforce", values: [AddressLike, BytesLike, BigNumberish]): string;
    encodeFunctionData(functionFragment: "setTarget", values: [AddressLike]): string;
    encodeFunctionData(functionFragment: "trait", values?: undefined): string;
    decodeFunctionResult(functionFragment: "enforce", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setTarget", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "trait", data: BytesLike): Result;
}
export declare namespace EnforcedEvent {
    type InputTuple = [
        subject: AddressLike,
        guarded: AddressLike,
        evidence: BytesLike,
        checkType: BigNumberish
    ];
    type OutputTuple = [
        subject: string,
        guarded: string,
        evidence: string,
        checkType: bigint
    ];
    interface OutputObject {
        subject: string;
        guarded: string;
        evidence: string;
        checkType: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace TargetSetEvent {
    type InputTuple = [guarded: AddressLike];
    type OutputTuple = [guarded: string];
    interface OutputObject {
        guarded: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export interface IAdvancedPolicy extends BaseContract {
    connect(runner?: ContractRunner | null): IAdvancedPolicy;
    waitForDeployment(): Promise<this>;
    interface: IAdvancedPolicyInterface;
    queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
    listeners(eventName?: string): Promise<Array<Listener>>;
    removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
    enforce: TypedContractMethod<[
        subject: AddressLike,
        evidence: BytesLike,
        checkType: BigNumberish
    ], [
        void
    ], "nonpayable">;
    setTarget: TypedContractMethod<[_guarded: AddressLike], [void], "nonpayable">;
    trait: TypedContractMethod<[], [string], "view">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "enforce"): TypedContractMethod<[
        subject: AddressLike,
        evidence: BytesLike,
        checkType: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "setTarget"): TypedContractMethod<[_guarded: AddressLike], [void], "nonpayable">;
    getFunction(nameOrSignature: "trait"): TypedContractMethod<[], [string], "view">;
    getEvent(key: "Enforced"): TypedContractEvent<EnforcedEvent.InputTuple, EnforcedEvent.OutputTuple, EnforcedEvent.OutputObject>;
    getEvent(key: "TargetSet"): TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
    filters: {
        "Enforced(address,address,bytes,uint8)": TypedContractEvent<EnforcedEvent.InputTuple, EnforcedEvent.OutputTuple, EnforcedEvent.OutputObject>;
        Enforced: TypedContractEvent<EnforcedEvent.InputTuple, EnforcedEvent.OutputTuple, EnforcedEvent.OutputObject>;
        "TargetSet(address)": TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
        TargetSet: TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
    };
}
//# sourceMappingURL=IAdvancedPolicy.d.ts.map