import type { _NEFilterControlVerdict } from "./NEFilterControlVerdict.js";
import type { _NEFilterFlow } from "./NEFilterFlow.js";
import type { _NEFilterProvider } from "./NEFilterProvider.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
export declare class _NEFilterControlProvider extends _NEFilterProvider {
    static alloc(): _NEFilterControlProvider;
    static new(): _NEFilterControlProvider;
    init(): _NEFilterControlProvider;
    /**
     * @method handleRemediationForFlow:completionHandler: @discussion This function is called by the framework when the NEFilterDataProvider indicates that the filtering verdict for the given flow is NEFilterRemediateVerdictNeedRules. Subclass implementations must override this method and implement whatever steps are necessary to remediate the given flow. @param flow An NEFilterFlow object containing details about the flow that requires remediation. @param completionHandler A block that must be called when the NEFilterControlProvider is ready for the NEFilterDataProvider to re-process the new flow. NEFilterControlVerdict stores the verdict through which the control provider determines if a flow needs to be dropped or allowed. The verdict also indicates if the control plugin wants the data plugin to update its rules and handle the verdict.
     */
    handleRemediationForFlow$completionHandler$(flow: _NEFilterFlow, completionHandler: (arg0: _NEFilterControlVerdict) => void): void;
    /**
     * @method handleNewFlow:completionHandler: @discussion This function is called by the framework when the NEFilterDataProvider indicates that the filtering verdict for the given flow is NEFilterNewFlowVerdictNeedRules. Subclass implementations must override this method and implement whatever steps are necessary to fetch new rules pertaining to the given flow and place them on disk in a location accessible by the NEFilterDataProvider. @param flow An NEFilterFlow object containing details about the flow that requires a rules update. @param completionHandler A block that must be called when the NEFilterControlProvider is ready for the NEFilterDataProvider to re-process the new flow. NEFilterControlVerdict stores the verdict through which the control provider determines if a flow needs to be dropped or allowed. The verdict also indicates if the control plugin wants the data plugin to update its rules and handle the verdict.
     */
    handleNewFlow$completionHandler$(flow: _NEFilterFlow, completionHandler: (arg0: _NEFilterControlVerdict) => void): void;
    /**
     * @method notifyRulesChanged @discussion This function is called by filter control implementations to notify the data provider "out of band" that the rules changed.
     */
    notifyRulesChanged(): void;
    /**
     * @property remediationMap @discussion A dictionary containing custom strings to be inserted into the "content blocked" page displayed in WebKit. Each key in this dictionary corresponds to a string in the "content blocked" page. The value of each key is a dictionary that maps keys to the custom strings to be inserted into the "content blocked" page. The keys for the sub-dictionaries are defined by the control provider. When the data provider creates a "remediate" verdict using [NEFilterDataVerdict remediateVerdictWithRemediationURLMapKey:remediationButtonTextMapKey:], it passes the key corresponding to the custom string to be inserted into the "content blocked" page. Here is a sample remediationMap dictionary: remediationMap = @{ NEFilterProviderRemediationMapRemediationURLs : @{ @"RemediateKey1" : @"http://www.remediation_url_1.com", @"RemediateKey2" : @"http://www.remediation_url_2.com" }, NEFilterProviderRemediationMapRemediationButtonTexts : @{ @"RemediationButtonText1" : @"Remediate URL" } };
     */
    remediationMap(): _NSDictionary;
    setRemediationMap$(value: _NSDictionary): void;
    /**
     * @property URLAppendStringMap @discussion A dictionary containing strings to be appended to URLs.
     */
    URLAppendStringMap(): _NSDictionary;
    setURLAppendStringMap$(value: _NSDictionary): void;
}
