import { DomRenderConfig } from '../configs/DomRenderConfig';
export type NormalAttrDataType = {
    originalAttrValue: string;
    isStringTemplate: boolean;
    variablePaths: {
        origin: string;
        inner: string;
    }[];
};
export declare class EventManager {
    private window;
    static readonly attrPrefix = "dr-";
    readonly eventNames: string[];
    private readonly delegatableEventMap;
    private readonly directAttachEvents;
    static ownerVariablePathAttrName: string;
    static readonly eventParam: string;
    static readonly onInitAttrName: string;
    static readonly valueAttrName: string;
    static readonly srcAttrName: string;
    static readonly checkedAttrName: string;
    static readonly selectedAttrName: string;
    static readonly readonlyAttrName: string;
    static readonly disabledAttrName: string;
    static readonly hiddenAttrName: string;
    static readonly requiredAttrName: string;
    static readonly openAttrName: string;
    static linkAttrs: {
        name: string;
        property: string;
        event: string;
    }[];
    static readonly linkTargetMapAttrName: string;
    static readonly onRenderedInitAttrName: string;
    static readonly attrAttrName: string;
    static readonly normalAttrMapAttrName: string;
    static readonly styleAttrName: string;
    static readonly classAttrName: string;
    static readonly VALUE_VARNAME = "$value";
    static readonly SCRIPTS_VARNAME = "$scripts";
    static readonly FAG_VARNAME = "$fag";
    static readonly RAWSET_VARNAME = "$rawSet";
    static readonly RENDER_VARNAME = "$render";
    static readonly NEAR_THIS_VARNAME = "$nearThis";
    static readonly PARENT_THIS_VARNAME = "$parentThis";
    static readonly ROOT_OBJECT_VARNAME = "$rootObject";
    static readonly SCRIPT_UTILS_VARNAME = "$scriptUtils";
    static readonly RANGE_VARNAME = "$range";
    static readonly ROUTER_VARNAME = "$router";
    static readonly INNER_HTML_VARNAME = "$innerHTML";
    static readonly ELEMENT_VARNAME = "$element";
    static readonly TARGET_VARNAME = "$target";
    static readonly EVENT_VARNAME = "$event";
    static readonly COMPONENT_VARNAME = "$component";
    static readonly INNERHTML_VARNAME = "$innerHTML";
    static readonly ATTRIBUTE_VARNAME = "$attribute";
    static readonly CREATOR_META_DATA_VARNAME = "$creatorMetaData";
    static readonly PARENT_THIS_PATH_VARNAME = "$parentPath";
    static readonly CURRENT_THIS_VARNAME = "$currentThis";
    static readonly CURRENT_THIS_PATH_VARNAME = "$currentThisPath";
    static readonly NEAR_THIS_PATH_VARNAME = "$nearThisPath";
    static readonly VARNAMES: string[];
    static readonly WINDOW_EVENT_POPSTATE = "popstate";
    static readonly WINDOW_EVENT_RESIZE = "resize";
    static readonly WINDOW_EVENT_SCROLL = "scroll";
    static readonly WINDOW_EVENTS: string[];
    static readonly noDetectAttr: string[];
    static readonly attrNames: string[];
    readonly bindScript: string;
    constructor(window: Window);
    private handleEvent;
    private collectHandlers;
    private findComponentInstance;
    private createExecutionContext;
    private executeHandler;
    findAttrElements(fragment: DocumentFragment | Element, config?: DomRenderConfig): Set<Element>;
    applyEvent(obj: any, childNodes: Set<ChildNode> | Set<Element>, config?: DomRenderConfig): void;
    onRenderedEvent(obj: any, childNodes: Set<ChildNode> | Set<Element> | Node[], config?: DomRenderConfig): void;
    changeVar(obj: any, elements: Set<Element> | Set<ChildNode>, varName?: string, config?: DomRenderConfig): void;
    deepAttributeElements(elements: Set<Element> | Set<ChildNode> | Node[], attrName: string): Set<Element>;
    procAttr<T extends Element = Element>(elements: Set<Element> | Set<ChildNode> | Node[], attrName: string, callBack: (h: T, value: string, attributes: any) => void): void;
    getValue<T = any>(obj: any, name: string, bindObj?: any): T;
    setValue(obj: any, name: string, value?: any): void;
    static decodeScriptVar(raws: string | null | undefined): string | undefined;
    static isUsingThisVar(raws: string | null | undefined, varName: string | null | undefined): boolean;
    static setBindProperty(scripts: {
        [p: string]: any;
    } | undefined, obj: any): {
        [p: string]: any;
    } | undefined;
    getBindScript(config?: DomRenderConfig): string;
}
//# sourceMappingURL=EventManager.d.ts.map